Curve from Rhino to Revit (Python API)

Create a curve from Rhino to Revit than can be edited in Revit.

If you have a curve in Rhino, you can convert it to a curve in Revit.

This curve will be editable once it is in Revit.

You will be able to modify its control points.

Grasshopper transforming the curve

💡 Be aware:

The curve has to be planar.

And the plane containing the curve must be created in Grasshopper with Rhino Inside, before adding the curve to Revit.

🦏 How to do it with RhinoInside:

  1. Reference the PLANAR curve.

  2. Get the plane that contains the curve.

  3. Create a Revit Working Plane.

  4. Input the Working Plane and the Curve into the Rhino Inside component.

💥 WARNING

The curve CAN NOT be closed (How much do we love Revit, right? 😍 )

Both the curve and the plane have to be RELEASED (like baking into Revit)

🐍 How to do it with Python:

Code below. 👇️ 

This code creates an XY Working Plane by default in the point (0,0,0).

Modify it as you want.

You could also use the Rhino Inside component that creates the plane, as an input for the Python script.

I will do a post about this another day.

Subscribe to keep reading

This content is free, but you must be subscribed to Parametric Project to continue reading.

Already a subscriber?Sign In.Not now

Reply

or to participate.