How to workaround Dynamo functionalities in Revit plugIns?

How to workaround Dynamo functionalities in Revit plugIns?

neelDZKPU
Explorer Explorer
312 Views
2 Replies
Message 1 of 3

How to workaround Dynamo functionalities in Revit plugIns?

neelDZKPU
Explorer
Explorer

Hello all, 
I am working on a script that involves geometrical concepts to get the output. So if we are using Dynamo, we can use  several nodes like "surface.bypatch" to create a temporary surface, "surface.PointAtParameter" to get points in surface. How can we workaround it in C# as Revit plugins?

0 Likes
313 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni

I assume that by "workaround" you mean "reproduce". If so, the way to go is to explore the Dynamo node source code and see what Revit API and other calls it uses. Please be aware that Dynamo sometimes makes use of geometry library functionality that is not available in the pure Revit API. However, the entire Dynamo source code is open source, so you could theoretically copy it and migrate it all into your own Revit add-in. If you do so, please share the result, since I am sure it would be much appreciated by others as well.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 3

neelDZKPU
Explorer
Explorer

Thanks for the reply,
I have checked in the github but i cant find the geometry library or nodes like surface.bypatch which will take closed curves as input and create a surface. Can you please help me with this ? or is there any other way to tackle this? I have just started creating plugins for Revit in C#, So far i have used default Revit API methods. 

0 Likes