Can't find ClippingPlane

Hello
When i use: Rhino.DocObjects.ClippingPlaneObject.RemoveClipViewport(RhinoViewport, bool)
to remove all viewports this work fine but the script can’t find the ClippingPlane unless we activate one viewport manually.
Is there a way to find a ClippingPlane even it is inactive?

Why not look up the clipping planes using ObjectTable.FindByObjectType Method

1 Like

Thank you very much @nathanletwory , that solve the problem

1 Like