# Array to Path

**URL:** <https://forum.dynamobim.com/t/array-to-path/36331>\
**Category:** Revit\
**Created:** [May 23, 2019, 6:18am UTC](https://forum.dynamobim.com/t/array-to-path/36331 "2019-05-23T06:18:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Revit\_Noob](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@Revit\_Noob](https://forum.dynamobim.com/u/Revit_Noob)\
**Post date:** [May 23, 2019, 6:18am UTC](https://forum.dynamobim.com/t/array-to-path/36331/1 "2019-05-23T06:18:55Z")

</div>

I found this while searching for a solution :

> **[Array an object along a path in Revit by using Dynamo \_ the article | Revit...](https://knowledge.autodesk.com/support/revit-products/getting-started/caas/simplecontent/content/array-object-along-path-revit-using-dynamo.html)**
>
> One of the most important issues during the daily work with Autodesk Revit is the need to Copy (Array) any architecture element along a pre-defined path, usually curved one, and by a quick look at the current available Array command, we will notice...

is there a way to make the family follow the orientation of the path? not fixed to x,y orientation?

Here is the code : credit to the original poster of the code.

![Array%20to%20Path](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/9/f937cd1e9b7e32ed8a39d5a24fa5d3ba1877839d.jpeg)

---

<div class="post-metadata">

**Author:** ![khuzaimah.ElecEng](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/khuzaimah.eleceng/32/92768_2.png) [@khuzaimah.ElecEng](https://forum.dynamobim.com/u/khuzaimah.ElecEng)\
**Post date:** [May 23, 2019, 6:46am UTC](https://forum.dynamobim.com/t/array-to-path/36331/2 "2019-05-23T06:46:24Z")

</div>

sure

 ![rotate](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/9/69b840d3c589b2ee60c233cb8d3635cc6c8f0f8f.png)

---

<div class="post-metadata">

**Author:** ![khuzaimah.ElecEng](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/khuzaimah.eleceng/32/92768_2.png) [@khuzaimah.ElecEng](https://forum.dynamobim.com/u/khuzaimah.ElecEng)\
**Post date:** [May 23, 2019, 6:50am UTC](https://forum.dynamobim.com/t/array-to-path/36331/3 "2019-05-23T06:50:11Z")

</div>

check the edit

---

<div class="post-metadata">

**Author:** ![Revit\_Noob](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@Revit\_Noob](https://forum.dynamobim.com/u/Revit_Noob)\
**Post date:** [May 23, 2019, 8:38am UTC](https://forum.dynamobim.com/t/array-to-path/36331/4 "2019-05-23T08:38:54Z")

</div>

Thanks so much!! working fine. I added the data-shapes nodes so i can input the division values without opening the code.

I use the Y.Axis on my case BTW.

Thanks again.
