Object name

 From:  Michael Gibson
5710.4 In reply to 5710.3 
Hi mir4ea, here's a script you can set on a shortcut key which will assign names to all currently unnamed objects:

script: /* Assign names to all objects */ var objs = moi.geometryDatabase.getObjects(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); if ( obj.name == '' ) { obj.name = 'Object_' + (i+1); } }

Be aware though that if you run this on a heavy model that has a lot of objects in it, the "Objects" section of the scene browser will become very full of names.

- Michael