shortcut: select everything with the same name.

 From:  Michael Gibson
4780.5 In reply to 4780.4 
Hi nos,

> I noticed if the script only selects object which are visible. Could
> this be changed so that it would select all object and make the
> hidden objects visible?

Yup, this is possible by making a small change to the script, here is a version that should behave like you're asking about:

script: /* Extend selection to same names */ var names = new Array(); var objs = moi.geometryDatabase.getSelectedObjects(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); if ( obj.name != '' ) names[obj.name] = true; } objs = moi.geometryDatabase.getObjects(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); if ( obj.name != '' && names[obj.name] ) { obj.hidden = false; obj.selected = true; } }

- Michael