using this script
moi.geometryDatabase.deselectAll();
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; }
akka: LastCreated Object/objects -> usefull to control arrays or booleans/new geometry/curves so on
& i have some troubles
1. If I'll move an object, scale, rotate - it will count as last object, not new one created(let's say I've created a circle before - and script will record last object as LastCreated)
2. after creation if i'll cancel next operation, it wount count as last created (ex: created circle, try to move, didn't like, cancel - Last created won't count any more, history gone)
good addition will be -> undo saves last created tree* -> after 10 creation & 6 undos, will selet '4th created
as i see this should be ~ history records on new created objects, correct me if it's not designed application
- Tudor - |