generative modeling for Rhino
Hello,
I would like to change layers visibility with a script and all I found was Layer.IsVisible property, is there a method to turn it on and off?
Thanks!
Tags:
Permalink Reply by Giulio Piacentino on October 24, 2011 at 5:02am Hi Miguel,
It should be possible to assign to this property:
http://www.rhino3d.com/5/rhinocommon/html/P_Rhino_DocObjects_Layer_...
//Layer l = ...;
l.IsVisible = true;
l.IsVisible = !l.IsVisible;
Thanks,
- Giulio
________________
giulio@mcneel.com
McNeel Europe
Permalink Reply by Miguel Vidal on October 24, 2011 at 5:51am Ok, Giulio.
Many thanks!
© 2013 Created by Scott Davidson.
Powered by