Using Dynamo nodes with the Revit API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there,
Im coming with a background of the Revit API with C# and python.
I am wondering if is there a way to take out some functions from Dynamo and use their implementation with the Revit API.
Alternatively, maybe look “under the hood” of Dynamo and see how a specific function is implemented.
To be more specific, for some reason in the Revit API the ExecuteBooleanOperation method doesn’t work, but in Dynamo it does (its called Solid.ByUnion).
Apparently the issue with ExecuteBooleanOperation in the Revit API is familiar and all the suggested solutions for it requires complicated workarounds which I’m trying to avoid. I’m also trying to avoid writing my add-in using Dynamo as its going to be long and I’m not fluent in it.
I tried Running a python script up until the point where I have to use the Solid.ByUnion node, but the node did not accept my array of Solid instances. it seems that the type of Solid in Dynamo is not the same type as Solid in the Revit API. Im not sure about it but it seems like the Dynamo does not uses the same classes as the Revit API.
So if possible and someone can point me in the right direction on how to extract a function from Dynamo please.