I'm writing an Illustrator plugin (in actionscript, no C code) that creates a group object and then adds some path items to it. The problem I have is as follows:
If the user tries to UNDO (Ctrl+Z) what my plugin has done, Illustrator will undo each pathItem seperately. I need to mek it undo ALL the pathItems that the plugin have created at once. Can you guide me into the right direction to do it?
Process your objects and add app.redraw(); in the end - should help.