generative modeling for Rhino
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?
It should be possible to assign to this property:
//Layer l = ...;
l.IsVisible = true;
l.IsVisible = !l.IsVisible;