# Problem on Placing Family Along 3D Cad Line

**URL:** <https://forum.dynamobim.com/t/problem-on-placing-family-along-3d-cad-line/37976>\
**Category:** Revit\
**Created:** [July 5, 2019, 8:42am UTC](https://forum.dynamobim.com/t/problem-on-placing-family-along-3d-cad-line/37976 "2019-07-05T08:42:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![petitckc](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@petitckc](https://forum.dynamobim.com/u/petitckc)\
**Post date:** [July 5, 2019, 8:42am UTC](https://forum.dynamobim.com/t/problem-on-placing-family-along-3d-cad-line/37976/1 "2019-07-05T08:42:13Z")

</div>

I am a beginner of Dynamo. I want to place the Lighting Fixtures along a 3d-CAD line withe spacing 1.55m about 1.4km long. My problem is the Families that placed from dynamo can’t have the correct level , its only line on level 1. I can’t edit the family level as well. My script as the following:

 ![Capture2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/a/5a52e1ab3c0f568d233da796267d482d3d23cda5.png)  
My Reivt File: [My Revit File](https://www.dropbox.com/s/4jwetrawdkcblpp/lamp.rvt?dl=0)  
Lamp Family: [TF1-rotation-non.rfa](https://forum.dynamobim.com/uploads/short-url/gC62VimvhNigXKhlRbeHodPaNve.rfa) (376 KB)  
Problem:  
 ![lamp](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/f/8fd561755e2f3936ba02ed6573b49adcf7aca157.jpeg)

---

<div class="post-metadata">

**Author:** ![koenvd123](https://avatars.discourse-cdn.com/v4/letter/k/9de053/32.png) [@koenvd123](https://forum.dynamobim.com/u/koenvd123)\
**Post date:** [July 5, 2019, 12:33pm UTC](https://forum.dynamobim.com/t/problem-on-placing-family-along-3d-cad-line/37976/2 "2019-07-05T12:33:25Z")

</div>

Hey there i didnt really took the time to read the whole node by details but i can’t see any nodes reffering to the height or level it is placed on.

---

<div class="post-metadata">

**Author:** ![petitckc](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@petitckc](https://forum.dynamobim.com/u/petitckc)\
**Post date:** [July 5, 2019, 4:03pm UTC](https://forum.dynamobim.com/t/problem-on-placing-family-along-3d-cad-line/37976/3 "2019-07-05T16:03:47Z")

</div>

FamilyInstance.ByPoint should be include height

---

<div class="post-metadata">

**Author:** ![Andrew\_Hannell](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/andrew_hannell/32/103315_2.png) [@Andrew\_Hannell](https://forum.dynamobim.com/u/Andrew_Hannell)\
**Post date:** [July 8, 2019, 11:50pm UTC](https://forum.dynamobim.com/t/problem-on-placing-family-along-3d-cad-line/37976/4 "2019-07-08T23:50:18Z")

</div>

This is caused by your family- it is workplane (level) based, so you can’t move it vertically

Most lighting families will have parameter for offset from host- so you could either keep it as level based and add a parameter for offset, or use a point based family

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/9/d9ad0600fef9e41561ed8ffe545ea9bd5841685c.png)

---

<div class="post-metadata">

**Author:** ![petitckc](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@petitckc](https://forum.dynamobim.com/u/petitckc)\
**Post date:** [July 9, 2019, 2:42am UTC](https://forum.dynamobim.com/t/problem-on-placing-family-along-3d-cad-line/37976/5 "2019-07-09T02:42:28Z")

</div>

thanks alot, i do it successful after adding a parameter for offset

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/a/eaaed70c2ea14c572c95405f2f6cb2d6b6efe704.png)
