Hi ndrakey,
That's the script i use to toggle the edges visibility on the selected entities (surfaces or polysurfaces/solids) :
script: /*! Show-hide edges on selected objects */var breps = moi.geometryDatabase.getSelectedObjects().getBreps(); for ( var i = 0; i < breps.length; ++i ) {var brep = breps.item(i);brep.getEdges().invertProperty( 'hidden');}
It works for me.
Nice day,
Marco.
|