Question regarding face selection
All  1-3  4-5

Previous
Next
 From:  Michael Gibson
10644.4 In reply to 10644.3 
Hi David,

re:
> (B): click shortcut to trigger script which selects the solid, the edges/faces belong to.

Please give this a try on a shortcut key:

script: /* Switch selection from faces or edges to solid */ var objs = moi.geometryDatabase.getSelectedObjects(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); if ( obj.isBRepSubObject ) { obj.getParentBRep().selected = true; obj.selected = false; } }

- 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

Previous
 From:  DavidE
10644.5 
Hey Michael! Thanks a lot, works perfectly!
  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