wanted: Select after creation

 From:  manz
1793.2 In reply to 1793.1 
Hi Nick,

Yes there is a script for selecting the last created object(s). Have a look here:- http://kyticka.webzdarma.cz/3d/moi/

Go down the list and you will find:- SelectLastCommandCreated

OR

the script is:-

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; }