Anybody have any idea how to use the nuke.Undo ?
i've search every where, without any success ...

only thing i've been done is:

nuke.Undo().name("test_python")
nuke.Undo().begin()
> put some code here, create some nodes etc...
nuke.Undo().end()

after that, i still can't Undo my node creation...

On 25 Feb 2011, at 15:31, Matthieu Cadet wrote:

> Hi,
> 
> i'm putting this thread opened, because i found it
> in the nuke-python group archive.
> 
> Can somebody explain how to use the nuke.Undo() class ?
> 
> basically, i'm doing some python code to move/delete some
> Node in the DAG, and i want to be able to Undo my changes,
> and it seems that the nuke.Undo class is here for that,
> but i don't know how to use it...
> 
> Thanks for your answer guys!
> 
> Matthieu.
> 
>> 
>> i'm also trying to figure out how to use nuke.Undo
>> can someone explain how to use it the "right" way?
>> greetings,
>> michael
>> Am 28.04.2010 08:33, schrieb Jesse Kretschmer:
>>> I'm adjusting nodes programatically and nuke cannot undo my actions.
>>> Digging through the python API docs I've seen nuke.Undo.begin() and
>>> nuke.Undo.end() though I can not successfully record a process such that
>>> it is undoable.  I'm at a loss as to how to use this object in nuke.
>>> Does anyone have a working example of nuke.Undo?
>>> Thanks,
>>> jesse
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Nuke-python mailing list
>>> [email protected]
>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>> --
>> ------------------------------------
>> michael vorberg
>> 
>> digital compositor
>> 
>> Solitudestr. 62
>> 70499 Stuttgart
>> 
>> [email protected]
>> 
>> +49 171 899 37 60
>> 
>> Ust-IdNr.: DE267321910
>> 
>> ------------------------------
>> --
>> ------------------------------------
>> michael vorberg
>> digital compositor
>> Solitudestr. 62
>> 70499 Stuttgart
>> [email protected]
>> +49 171 899 37 60
>> Ust-IdNr.: DE267321910
>> ------------------------------

_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to