Difference between revisions of "User:Ivo.grigull"
From The Foundry MODO SDK wiki
Ivo.grigull (Talk | contribs) |
Ivo.grigull (Talk | contribs) (→Creating an undo context in a fire and forget script) |
||
Line 7: | Line 7: | ||
==== Creating an undo context in a fire and forget script ==== | ==== Creating an undo context in a fire and forget script ==== | ||
+ | http://pastebin.com/AWNV6vGd | ||
Your scripts can simply do <pre>lx.eval('undo.init')</pre> and it'll create an undo context for you. | Your scripts can simply do <pre>lx.eval('undo.init')</pre> and it'll create an undo context for you. |
Revision as of 09:46, 13 May 2016
Creating an undo context in a fire and forget script
Your scripts can simply dolx.eval('undo.init')and it'll create an undo context for you.