# Which API for BeamByCurve in Python?

**URL:** https://forum.dynamobim.com/t/which-api-for-beambycurve-in-python/10661
**Category:** Uncategorized
**Created:** [March 29, 2017, 8:10am UTC](https://forum.dynamobim.com/t/which-api-for-beambycurve-in-python/10661 "2017-03-29T08:10:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![y.KWON](https://avatars.discourse-cdn.com/v4/letter/y/90db22/32.png) [@y.KWON](https://forum.dynamobim.com/u/y.KWON)
#### Post date: [March 29, 2017, 8:10am UTC](https://forum.dynamobim.com/t/which-api-for-beambycurve-in-python/10661/1 "2017-03-29T08:10:30Z")

</div>

Dear All,

I’m looking for Revit API, which one has same/similar function like StructuralFraming.BeamByCurve Dynamo Node. I have to code this function in Python, to use with other APIs togather.

I tried, BeamSystem.Create, but This Method is for beam ‘System’ and I could not assign Family Type by this function.

Does any one know, what kind of Revit API is corresponding to the Node, StructuralFraming.BeamByCurve?

Regards,

---

<div class="post-metadata">

### Author: ![viktor\_kuzev](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/viktor_kuzev/32/48254_2.png) [@viktor\_kuzev](https://forum.dynamobim.com/u/viktor_kuzev)
#### Post date: [March 29, 2017, 9:52am UTC](https://forum.dynamobim.com/t/which-api-for-beambycurve-in-python/10661/2 "2017-03-29T09:52:18Z")

</div>

My special googling skills helped me find these:

> **[Beam Requires Curve](http://thebuildingcoder.typepad.com/blog/2010/04/beam-requires-curve.html)**
>
> We discussed the issue of inserting a beam and also creating a curved beam in some depth already. The former discussion includes a pretty detailed analysis showing that you really do have to specify a curve in order to generate a valid beam instance,...

  

> **[Creating a Curved Beam](http://thebuildingcoder.typepad.com/blog/2009/06/creating-a-curved-beam.html)**
>
> Here is a solution from my colleague Joe Ye on how to create a curved beam. This is also the first and so far only Building Coder sample that demonstrates the use of the Revit API DoubleArray and NurbSpline classes. Question: I am creating curved...

I hope that helps!

---

<div class="post-metadata">

### Author: ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)
#### Post date: [March 29, 2017, 9:54am UTC](https://forum.dynamobim.com/t/which-api-for-beambycurve-in-python/10661/3 "2017-03-29T09:54:49Z")

</div>

@y.KWON Here is more 🙂

[http://www.revitapidocs.com/2015/d8e0a91a-b062-3a86-6d8e-779534459ff4.htm?section=exampleToggle](http://www.revitapidocs.com/2015/d8e0a91a-b062-3a86-6d8e-779534459ff4.htm?section=exampleToggle)

---

<div class="post-metadata">

### Author: ![y.KWON](https://avatars.discourse-cdn.com/v4/letter/y/90db22/32.png) [@y.KWON](https://forum.dynamobim.com/u/y.KWON)
#### Post date: [March 29, 2017, 10:04am UTC](https://forum.dynamobim.com/t/which-api-for-beambycurve-in-python/10661/4 "2017-03-29T10:04:52Z")

</div>

Thank Viktor & Kulkul, you both saved my day! 🙂
