Hello,
i have been trying to setup an undo thingy as part of my python api script
def undoIt(self):
self.dagModifier.undoit()
there are other tutorials i have tried to follow but it doesn't seem to cover
the same problem exactly. I am always coding in the script editor and just
executing and then undoing / coding /executing and so on. I find it quicker to
do it this way.
Obviously when i started adding api stuff into maya code when i ctrl z it would
undo all the normal maya cmds stuff but leave the api stuff.
There are only a few areas in my script that require the api, but is there a
neat way of just including the undoit() thing as part of the normal undo in
maya when working from the script editor??
thanks alot,
Sam
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/9df5422f-bc49-4455-8d4d-ca6118f30247%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.