MoI discussion forum
MoI discussion forum

Full Version: Samardac Method

Show messages:  1-9  10-29  30-49  50

From: Michael Gibson
29 Mar 2016   [#50] In reply to [#48]
Hi ndrakey,

you wrote:
> H=script: /*! Show/Hide edges --- H*/ var breps = moi.geometryDatabase.getObjects().getBReps();
> var hide = true; for ( var i = 0; i < breps.length; ++i ) { var edges = breps.item(i).getEdges();>
> Doesnt Work anymore !?

The script you show above must not be the full script - it looks like you've only got the front part of it. That script code you have there just loops over things but does not perform any actions, that's why it doesn't work.

Try Marco's script above, or look more closely at where you got the original script because you didn't get all of it.

- Michael

Show messages:  1-9  10-29  30-49  50