Reference a clipping plane in grasshopper

Can you reference a clipping plane in grasshopper? I would like to put it on a slider if possible!

Kind Regards,


In Rhino 6 you can already do reference a clipping plane through the ID primitive:


Thats amazing that youre able to do that!

I cant seem to for some reason.

I get:

sorry, i am a moron! you made plane not a surface! Is there anyway to move the GUID around? If you try to mvoe the plane, it only moves that.

thanks for your help

private void RunScript(Guid id, Plane pl)
    var cp = new Rhino.DocObjects.ObjRef(id);
    var source = cp.ClippingPlaneSurface().Plane;
    RhinoDoc.ActiveDoc.Objects.Transform(id, Transform.PlaneToPlane(source, pl), true);

ClippingPlane.3dm (1.1 MB) (14.9 KB)


dude! you rule!

Hi Mahdiyar,

I was wondering if you could look at this one and see what you think?



brilliant ! :100:

Really nice. Thank you for sharing this.

If you are having trouble, in the Rhino Properties Tab, Under Views Clipped, set your active model or layout view.

You sir, are a legend among men. Thank you.

Hi Mahdiyar,

Very handy script!
Just wondering there are 2 additional options preset.

  1. Would it be possible to create the clipping plane from within GH itself? (at the moment you have to draw the clipping pane in Rhino by hand every time you open the script). e.g. defining a rectangle in GH and somhow tranfer this as a clipping plane into Rhino?

It would be great If you don’t have to do manual things in Rhino :slight_smile:

Many thanks!

1 Like

Very well master