s...@weacceptyou.com
unread,Dec 13, 2015, 1:07:47 PM12/13/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Python Programming for Autodesk Maya
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