Hi there, Jonzker.
This script hides edges on selected items or on all if nothing selected:
script:var gd = moi.geometryDatabase; var breps = gd.getSelectedObjects().getBReps(); if ( breps.length == 0 ) breps = gd.getObjects().getBReps(); var hide = true; for ( var i = 0; i < breps.length; ++i ) { var edges = breps.item(i).getEdges(); if ( i == 0 ) hide = !edges.item(0).hidden; edges.setProperty( 'hidden', hide ); }
assign to shortcut of your choice.
Regards
Tony
(aka HamSoles) |