Accessing Revit macros

Has anyone had any luck accessing Revit macros from a dynamo graph? I set up a python node with

from Autodesk.Revit.DB import *

But when I try to call from the Macros namespace I only get a few members, similar to the issue discussed here:

In the context of writing add-ins, the solution appears to be

add “RevitAPIMacros.dll” to your VS project.

Any ideas of how that would apply to a dynamo graph? Any other ideas of how to solve it?

Thanks

1 Like