How to select an object with object-name using script?
All  1-3  4-5

Previous
Next
 From:  Cemortan_Tudor
9848.4 
& how should i select all unnamed (ex: hide/show unnamed)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
9848.5 In reply to 9848.4 
Hi Cemortan_Tudor,

re:
> & how should i select all unnamed (ex: hide/show unnamed)

Type Tab to put focus in the XYZ control, type * and push Enter to select all named objects, then use Select > Invert.

You could also set up a keyboard shortcut with this script to do it:

script: var objs = moi.geometryDatabase.getObjects(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); if (obj.name == '' ) obj.selected = true; }

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-3  4-5