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
|