# Surface.by.loft failed

**URL:** <https://forum.dynamobim.com/t/surface-by-loft-failed/87905>\
**Category:** Geometry\
**Tags:** revit, geometry, dynamo\
**Created:** [March 28, 2023, 10:11am UTC](https://forum.dynamobim.com/t/surface-by-loft-failed/87905 "2023-03-28T10:11:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anahronis](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@Anahronis](https://forum.dynamobim.com/u/Anahronis)\
**Post date:** [March 28, 2023, 10:11am UTC](https://forum.dynamobim.com/t/surface-by-loft-failed/87905/1 "2023-03-28T10:11:05Z")

</div>

Hi.  
I have a problem with Dynamo. I don’t want to create surfaces on some curves from the end of the list.  
Loft surface self intersects.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/4/74dc6455dc9a45864d66d85d0e381e053c579ab8.jpeg)

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [March 28, 2023, 10:59am UTC](https://forum.dynamobim.com/t/surface-by-loft-failed/87905/2 "2023-03-28T10:59:33Z")

</div>

@Anahronis ,

you have to sort your lines f.e. a path

> [@Sorting Points by Minimum Distance Along Polycurve](https://forum.dynamobim.com/t/sorting-points-by-minimum-distance-along-polycurve/85114):
>
> Good morning all- \*I have searched this forum extensively, for days, so I apologize if this question sounds familiar. I am struggling. I am trying to plot a polycurve along a set of points, using: I can sort by X, Y, Z- but that doesn’t keep the points in order of minimum distance, and produces a fairly sporadic looking set of lines. Maybe I’m overlooking something simple. How could I make that happen? Thank you in advance.

---

<div class="post-metadata">

**Author:** ![Anahronis](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@Anahronis](https://forum.dynamobim.com/u/Anahronis)\
**Post date:** [March 28, 2023, 2:55pm UTC](https://forum.dynamobim.com/t/surface-by-loft-failed/87905/3 "2023-03-28T14:55:44Z")

</div>

I’m a noob. I don’t get it where to insert the sort and what key

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [March 28, 2023, 3:41pm UTC](https://forum.dynamobim.com/t/surface-by-loft-failed/87905/4 "2023-03-28T15:41:22Z")

</div>

@Anahronis ,

check out this  
[SortByLength.dyn](https://forum.dynamobim.com/uploads/short-url/eiJ07yImItJKJ99cXiIlrFUZHRC.dyn) (18.7 KB)

---

<div class="post-metadata">

**Author:** ![Anahronis](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@Anahronis](https://forum.dynamobim.com/u/Anahronis)\
**Post date:** [March 28, 2023, 5:22pm UTC](https://forum.dynamobim.com/t/surface-by-loft-failed/87905/5 "2023-03-28T17:22:07Z")

</div>

I still don’t get it

---

<div class="post-metadata">

**Author:** ![Anahronis](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@Anahronis](https://forum.dynamobim.com/u/Anahronis)\
**Post date:** [March 29, 2023, 10:52pm UTC](https://forum.dynamobim.com/t/surface-by-loft-failed/87905/6 "2023-03-29T22:52:06Z")

</div>

Okay it works.  
It was enough to indicate only the “y” axis to transpose  
Thanks for directing me.

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