No module named External

Hey there!

The following string:
from RhinoInside.Revit.External.DB import Extensions
doesn’t work anymore for Python in Grasshopper (It was working in previous versions of Rhino.Inside.Revit).

Where are the Extensions situated for now? I need this library for crucial Revit API hidden commands to work. For instance get_BoundingBox() or get_Geometry() methods were very crucial for lots of use-cases.

Hi @Magda,

get_BoundingBox and get_Geometry are standard Revit API methods.

In this case you may remove the import statement.

Types under RhinoInside.Revit.External are not part of the public API.

Public API types are documented here.

1 Like