# Geometry Intersect with List of Lists

**URL:** <https://forum.dynamobim.com/t/geometry-intersect-with-list-of-lists/72327>\
**Category:** Lists-Logic\
**Created:** [January 16, 2022, 9:40am UTC](https://forum.dynamobim.com/t/geometry-intersect-with-list-of-lists/72327 "2022-01-16T09:40:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Przemyslaw\_Stepien](https://avatars.discourse-cdn.com/v4/letter/p/f08c70/32.png) [@Przemyslaw\_Stepien](https://forum.dynamobim.com/u/Przemyslaw_Stepien)\
**Post date:** [January 16, 2022, 9:40am UTC](https://forum.dynamobim.com/t/geometry-intersect-with-list-of-lists/72327/1 "2022-01-16T09:40:51Z")

</div>

Hi, trying to clash list of lines at the same index in two lists however the output is not what expected.  
I works fine with single list but I can’t figure out how to set levels / index / lacing.  
Any help is appreciated. Thanks.

 ![List of List Intersect](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/8/289ff76f1746ffcc3b95eabcc4e54bc539845e59.jpeg)

---

<div class="post-metadata">

**Author:** ![gerhard.p](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gerhard.p/32/147675_2.png) [@gerhard.p](https://forum.dynamobim.com/u/gerhard.p)\
**Post date:** [January 16, 2022, 12:35pm UTC](https://forum.dynamobim.com/t/geometry-intersect-with-list-of-lists/72327/2 "2022-01-16T12:35:15Z")

</div>

Hello @Przemyslaw_Stepien

With which Curves do you want to test Line 0 in List 0?  
With every curve in List 0 or with all Curves in all lists?

How about that:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/1/c14fe22986f93f22ad96714417a6e64ceffc65c0.jpeg)

So you need the following code:

```auto
Geometry.DoesIntersect(x<1><1>,y<1><2>);

```

See the following post by @Vikram_Subbaiah to learn mor about replication guides 😃

> [@Boundingboxes Intersection List](https://forum.dynamobim.com/t/boundingboxes-intersection-list/62876/5):
>
> See if my attempt at explaining replication guides helps clarify this

---

<div class="post-metadata">

**Author:** ![Przemyslaw\_Stepien](https://avatars.discourse-cdn.com/v4/letter/p/f08c70/32.png) [@Przemyslaw\_Stepien](https://forum.dynamobim.com/u/Przemyslaw_Stepien)\
**Post date:** [January 16, 2022, 3:19pm UTC](https://forum.dynamobim.com/t/geometry-intersect-with-list-of-lists/72327/3 "2022-01-16T15:19:11Z")

</div>

This is what I was looking for. Thanks a lot.
