Drag enhancement

 From:  Michael Gibson
3629.9 In reply to 3629.8 
Hi Fil, if you use Copy and paste (Ctrl+C and Ctrl+V), to make your duplicate object, the selection is actually set to the newly pasted in stuff. So you can for example run the Move or rotate commands after pasting and they will work on that newly pasted in object.

It's also possible to set up a keyboard shortcut that will select the objects that were created by the last command that was run. To do that, go to Options > Shortcut keys, and add in a new entry. For the key put whatever you want to trigger it, and for the command part, paste in the follow script:

script:var a = moi.command.lastCommandRevisionStart; var b = moi.command.lastCommandRevisionEnd; var objects = moi.geometryDatabase.getObjects(); for ( var i = 0; i < objects.length; ++i ) { var obj = objects.item(i); if ( obj.databaseRevision> a && obj.databaseRevision <= b ) obj.selected = true; }

- Michael