# Lacing not working...?

**URL:** <https://forum.dynamobim.com/t/lacing-not-working/49951>\
**Category:** Uncategorized\
**Created:** [April 29, 2020, 12:41am UTC](https://forum.dynamobim.com/t/lacing-not-working/49951 "2020-04-29T00:41:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giovanni\_Succi](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@Giovanni\_Succi](https://forum.dynamobim.com/u/Giovanni_Succi)\
**Post date:** [April 29, 2020, 12:41am UTC](https://forum.dynamobim.com/t/lacing-not-working/49951/1 "2020-04-29T00:41:07Z")

</div>

Hi all,  
I have two lists to process in a Geometry.DistanceTo node.

First list contains two lists, first of 16 items, the second 3.  
Second list contains 2 items, 4 items each.

I need the result to be same structure as first list, that is 16 items plus 3…

I tried all levels and lacing, I just cannot get it.

The closest I got is in the screenshot, where everything seems okay, except the first list is truncated at 4 items, instead of 16…

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/b/8be07ac21538534aa4a40bd298870066ae68c976.png)

Basically, every item in the first list is some geometry of elements (listed by view and then by elements, thus the two level list), and the second list has the boundaries of view-ports (two lists of 4 lines each).

I need a list with the same structure as the geometry by view (first list), with the distance values…

I have setup lacing and levels for many scripts, and I have always found the combination I needed, but not this time… ☹

thank you

regards

---

<div class="post-metadata">

**Author:** ![FabioDeAgostini](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/fabiodeagostini/32/93820_2.png) [@FabioDeAgostini](https://forum.dynamobim.com/u/FabioDeAgostini)\
**Post date:** [April 29, 2020, 6:10am UTC](https://forum.dynamobim.com/t/lacing-not-working/49951/2 "2020-04-29T06:10:59Z")

</div>

It is a _lacing_ problem, [check this reply that is really similar to your issue](https://forum.dynamobim.com/t/beem-and-wall-distance-from-grid/49837/4)  
look at _auto_ in the bottom corner of node: it should be at least _longest_ or _cross product_ because auto switch to _shortest_ in many cases. It mean that when he reach the end of a list (one of them) it stop the execution, that’s why you have 4 and not 16 values.

---

<div class="post-metadata">

**Author:** ![Giovanni\_Succi](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@Giovanni\_Succi](https://forum.dynamobim.com/u/Giovanni_Succi)\
**Post date:** [April 29, 2020, 5:33pm UTC](https://forum.dynamobim.com/t/lacing-not-working/49951/3 "2020-04-29T17:33:07Z")

</div>

That is what I thought, exactly, it looks like a short lace.

But believe me, I tried everything! Including long lacing and cross lacing.

So either the geometry distance node is faulty (wrong lacing) or… not sure what else.

In any case, I resolved this specific problem by simplifying the data structure…

thank you

regards

gio
