Enumerate object names

 From:  Michael Gibson
6648.2 In reply to 6648.1 
Hi andrew, thanks for sharing your code!

If you want it displayed in a forum post with whitespace maintained, use <code> xxxxx </code> rather than [code] [/code]


> Does anyone know how I can add undo functionality?

There isn't currently any way set up for an "inline script" to generate undo units. That is something I want to make happen automatically in the future when I get a chance to make various improvements to the script system.

Currently only code that's run as a "command" (with the script file located in the "commands" folder, and launched by command name) that makes stuff work with undo. Prepping stuff for undo is part of the command launch and command exit processes.

- Michael