Cycles render | Scripts

Sunday, 15 Mar 2015. Posted by: Smirnov

Lock construction lines | Inline scripts

Sunday, 15 Mar 2015. Posted by: Smirnov
script:/* Lock construction lines */ var cln =0, gd = moi.geometryDatabase, cl = gd.getObjects().getConstructionLines(), cll = cl.length; for (var i=0; i<cll; i++) if (!cl.item(i).isTemporary) cln++; if (cln == cll) { gd.removeObjects(cl) } else { cl.setProperty( "isTemporary", false ) }