Notifications
Clear all

[Closed] Undo/Redo trouble – handling helper objects?

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!