Hi Filippo,
> And ... the code for turning off/on the edges?
> Is there it? In order to insert it in the script.
For that the script needs to go through objects and on each object get its edges and set the edges to be hidden or not.
That should go like this for hiding them:
code:
var breps = moi.geometryDatabase.getObjects().getBReps(); for ( var i = 0; i < breps.length; ++i ) { breps.item(i).getEdges().setProperty( 'hidden', true ); }
And for showing them the same thing, just passing false at the end instead like this:
code:
for ( var i = 0; i < breps.length; ++i ) { breps.item(i).getEdges().setProperty( 'hidden', false ); }
You can just insert those whole chunks of code before and after the screencapture just like the other ones.
- Michael
|