Message 1 of 13
Using DesignScript in Revit addin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm trying to make an addin which involves in complex geometry manipulation. I personally find Revit API really cumbersome and tough, and sometimes impossible when it comes to geometry manipulation. So I was looking for other means to do this. One option which came to my mind is the DesignScript library which is also used in Dynamo. In Dynamo one can create an
Autodesk.DesignScript.Geometry.Line
and use a method called
ToRevitType()
to convert it to
Autodesk.Revit.DB.Curve
So I was wondering if it would be possible to do the same thing in a Revit addin? Basically get DesignScript to do the heavy lifting and then convert the final objects to the Revit types to be used by Revit API?
Any input is much appreciated.