Hi Peer,
I'm not finding the reference for setCommandSpecificUndo( boolean) right off, but I think it may be part of what you're after. I would add it to the initialization portion of your script.
code:
moi.command.setCommandSpecificUndo( true)
Edited to add:
Hmm, this might be to allow commands to have finer granularity of control over the undo behavior during the script's execution as opposed to an atomic undo that restores the model to the state prior to the script running. I'm sorry, I can't find a better reference.
--Larry
|