Using C# Nodes with Autodesk.DB

Is there a way to call functions from Autodesk.Revit.DB namespace using the C# nodes? That way we can call the Revit API from the comfort of Grasshopper to do additional functions (such as assigning mass floors to masses etc)

1 Like

We currently only have the Python technique documented:

The C# is a little different and we would like to streamline the process for C# components. Although I do not expect the change for a few weeks at least.

As @scottd mentioned, we don’t have too many examples documented. One of the original samples creates a TopographySurface from points. Here is the definition: https://github.com/mcneel/rhino.inside-revit/blob/master/src/RhinoInside.Revit/Samples/Sample3.ghx

and here is the code it calls: