I'm creating a poly plane object in my script to help the user visualize something in real time depending on the parameters they set in the UI. It gets destroyed upon the window closing for the tool I'm building being closed.
The annoying thing is when I start undoing, all the different actions that occured on the visualizer plane are part of the history. So I start seeing a plane moving around.
I tried the constructionHisrtory flag but it did nothing.
I'm looking for a way to create this plane object without it actually being part of the history at all. Alternatively if this isn't possible, is there a good way to draw some geometry without creating an actual object?
My script is actually written in python, but I don't think that really matters since mel and python commands are interchangeable.