# Profile family along a curve

**URL:** <https://forum.dynamobim.com/t/profile-family-along-a-curve/28321>\
**Category:** Revit\
**Tags:** revit, archi-lab, geometry, dynamo\
**Created:** [November 12, 2018, 10:20am UTC](https://forum.dynamobim.com/t/profile-family-along-a-curve/28321 "2018-11-12T10:20:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jobiols](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jobiols](https://forum.dynamobim.com/u/jobiols)\
**Post date:** [November 12, 2018, 10:20am UTC](https://forum.dynamobim.com/t/profile-family-along-a-curve/28321/1 "2018-11-12T10:20:55Z")

</div>

Hi group,

I’m trying to do a sweep with a profile family along a given curve. I’ve seen that there are some posts about it already and I’ve tried to follow what are saying but they are not working.

The problem is said to be with the detection of the curves of the family. I’ve just created a profile family with a circle in it. Is there any further restriction I have to add in the profile family for getting its curves detected?

I attach images of the nodes and the family. Thanks!

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/c/ec8db6e435fc7ac963350875f234af06ae354d9a.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/7/97baa316432e78385e3f3efc428e9c633d4ec774.png)

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [November 12, 2018, 2:55pm UTC](https://forum.dynamobim.com/t/profile-family-along-a-curve/28321/2 "2018-11-12T14:55:46Z")

</div>

Hey,

It seems that the node uses a method which was superceded, this post has an updated python script…

> [@Trouble with PolyCurve By Profile Family Type](https://forum.dynamobim.com/t/trouble-with-polycurve-by-profile-family-type/6591/5):
>
> From [http://www.revitapidocs.com/2015/1b4854ee-6afc-acfb-3d71-3c7eb946bb57.htm](http://www.revitapidocs.com/2015/1b4854ee-6afc-acfb-3d71-3c7eb946bb57.htm) [ObsoleteAttribute(“This property is obsolete in Revit 2015. Use Family.GetFamilySymbolIds() instead.”)]

Here’s the dyn which Kukul created, it includes the python script…

[PolyCurveByProfileFamilyType\_2016-17(Kulkul).dyn](https://forum.dynamobim.com/uploads/short-url/jxOFZoJPPTrh3B4lH0SEWJdHW04.dyn) (3.9 KB)

Hope that helps,

Mark
