# How to create a family along 3D-line

**URL:** <https://forum.dynamobim.com/t/how-to-create-a-family-along-3d-line/14457>\
**Category:** Revit\
**Tags:** revit, dynamo, topography\
**Created:** [August 31, 2017, 9:05am UTC](https://forum.dynamobim.com/t/how-to-create-a-family-along-3d-line/14457 "2017-08-31T09:05:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dynamo\_user](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@dynamo\_user](https://forum.dynamobim.com/u/dynamo_user)\
**Post date:** [August 31, 2017, 9:05am UTC](https://forum.dynamobim.com/t/how-to-create-a-family-along-3d-line/14457/1 "2017-08-31T09:05:50Z")

</div>

Hi there,

in the last few days i read alot about how to place families in revit by using dynamo.  
I was already able to create my topo and to put point-based families on it, they automatically get the correct z-value from the points. But i keep on failing to snap my fence on the topo/modelline. I Found the node familyinstance.ByLine and familyinstance.ByCurve, but both need a “level” and dont follow the Z-value.

I also saw people creating floorsslabs and snap them to the topo so they can fix walls and railings on it, like the railing on my picture.  
I saw that its possible to make a fence or other families follow a 3D-line but i couldnt figure out how its been done.  
Can someone give me a hint, or link where its done that way?  
Thanks alot already!  
 ![site](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/5/e5c94b0886eaaaa8e57566019eafa5ccad50f3b0.PNG)  
jonas!

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [August 31, 2017, 2:50pm UTC](https://forum.dynamobim.com/t/how-to-create-a-family-along-3d-line/14457/2 "2017-08-31T14:50:23Z")

</div>

Have you tried using the level based nodes? As far as I’m aware the level is just for reference and the families will use an offset to match the input curves or points.

EDIT: Looks like this might not be the case.

---

<div class="post-metadata">

**Author:** ![jostein\_olsen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jostein_olsen/32/8570_2.png) [@jostein\_olsen](https://forum.dynamobim.com/u/jostein_olsen)\
**Post date:** [September 1, 2017, 7:25am UTC](https://forum.dynamobim.com/t/how-to-create-a-family-along-3d-line/14457/3 "2017-09-01T07:25:45Z")

</div>

In Revit 2018, railings can follow topographies. Also, have a look at this blog: [https://landarchbim.com/](https://landarchbim.com/) for inspiration  
I have also written some blogposts on how you can use topographies as base for a wide variety of stuff here: [http://jbdynamo.blogspot.no/](http://jbdynamo.blogspot.no/)  
Check them out and give it a go, then come back here if you’re stuck! 🙂

---

<div class="post-metadata">

**Author:** ![dynamo\_user](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@dynamo\_user](https://forum.dynamobim.com/u/dynamo_user)\
**Post date:** [September 11, 2017, 1:42pm UTC](https://forum.dynamobim.com/t/how-to-create-a-family-along-3d-line/14457/4 "2017-09-11T13:42:43Z")

</div>

Thanks for ur replies. I finally did it!
