# Divide path using Dynamo not working

**URL:** <https://forum.dynamobim.com/t/divide-path-using-dynamo-not-working/1697>\
**Category:** Packages\
**Created:** [June 29, 2015, 4:20am UTC](https://forum.dynamobim.com/t/divide-path-using-dynamo-not-working/1697 "2015-06-29T04:20:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soumaya\_Mizouri](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@Soumaya\_Mizouri](https://forum.dynamobim.com/u/Soumaya_Mizouri)\
**Post date:** [June 29, 2015, 4:20am UTC](https://forum.dynamobim.com/t/divide-path-using-dynamo-not-working/1697/1 "2015-06-29T04:20:37Z")

</div>

Hi, i’m trying to divide a curve using dynamo and i can’t understand why it’s not working, can anybody help please ? ![Sans titre](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/a/a4ef7c8f46035e712b3e97e27c110e23b8bb5776.png)

---

<div class="post-metadata">

**Author:** ![Andreas\_Dieckmann](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/andreas_dieckmann/32/365_2.png) [@Andreas\_Dieckmann](https://forum.dynamobim.com/u/Andreas_Dieckmann)\
**Post date:** [June 29, 2015, 5:10am UTC](https://forum.dynamobim.com/t/divide-path-using-dynamo-not-working/1697/2 "2015-06-29T05:10:04Z")

</div>

1. Flatten your list of curves (looks like you have a nested list of curves)

2. Set the lacing of Curve.PointAtParameter to cross-product (otherwise you’ll only get 1 point per curve)

(Alternatively - if you only have 1 curve in your list, you can just pass that single item and don’t need to change the lacing)

---

<div class="post-metadata">

**Author:** ![Soumaya\_Mizouri](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@Soumaya\_Mizouri](https://forum.dynamobim.com/u/Soumaya_Mizouri)\
**Post date:** [June 29, 2015, 6:30am UTC](https://forum.dynamobim.com/t/divide-path-using-dynamo-not-working/1697/3 "2015-06-29T06:30:43Z")

</div>

i tried to do Marcello’s tutorial , Dynamo runs correctly now but i don’t get the result in Revit,

[http://therevitcomplex.blogspot.fr/2015/03/is-divided-path-and-repeater-limit-of.html](http://therevitcomplex.blogspot.fr/2015/03/is-divided-path-and-repeater-limit-of.html) =\> Marcello’s tutorial

---

<div class="post-metadata">

**Author:** ![Andreas\_Dieckmann](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/andreas_dieckmann/32/365_2.png) [@Andreas\_Dieckmann](https://forum.dynamobim.com/u/Andreas_Dieckmann)\
**Post date:** [June 29, 2015, 7:22am UTC](https://forum.dynamobim.com/t/divide-path-using-dynamo-not-working/1697/4 "2015-06-29T07:22:30Z")

</div>

Well, you’re not following it entirely since you have used a different node for obtaining your selection. This node will return a list of elements which will in turn rresult in a list of lists once you use Element.Geometry on it.

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [June 29, 2015, 7:37am UTC](https://forum.dynamobim.com/t/divide-path-using-dynamo-not-working/1697/5 "2015-06-29T07:37:19Z")

</div>

_Select Model Element_ not _Select Model Element **s** _
