PDA

View Full Version : Undo/Redo trouble - handling helper objects?


harefort
01-27-2009, 04:04 PM
Hey everybody!

I'm working on a script that allows selecting limited loops.
To highlight the last selected element, I create some helper objects, like spheres, cylinders or a copy of the face last selected.

I want these helpers to be unaffected by the undo system. The user shouldn't ba able to undo whatever changes my script did to them, aswell as creating/deleting them.

However as soon as I detach a face within an "undo on" context and then do stuff to it within an "undo off" context, I start to get system exceptions from maxscript, after the first undo.
I tried detaching the face within the "undo off" context before but that didn't work either.

Does that make sense to anyone?
I'm looking for a way to detach a face from a poly without creating any undo records.

Thanks in advance!

CGTalk Moderation
01-27-2009, 04:04 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.