Show Surface Isocurves - ShowIsocurves


I found this function (ShowIsocurves) in RhinoScript help, and I am assuming it is a VBScript function? Is there a corresponding function available in Python. I want to turn on and off isocurves in a selection of objects.


I believe that function only sets the Rhino option to show isocurves or not on newly created objects - not toggle existing ones. What you are looking for is this - rs.SurfaceIsocurveDensity():

Set it to -1 to hide isocurves. If you want it to toggle, you will have to get the current state using the same method and then reset it inverted.

Thank you. I will try that out.