# Cut selected geometry with second array generated geometry

**URL:** <https://forum.dynamobim.com/t/cut-selected-geometry-with-second-array-generated-geometry/75749>\
**Category:** Revit\
**Created:** [April 22, 2022, 3:51pm UTC](https://forum.dynamobim.com/t/cut-selected-geometry-with-second-array-generated-geometry/75749 "2022-04-22T15:51:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![architectepaca](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/architectepaca/32/103427_2.png) [@architectepaca](https://forum.dynamobim.com/u/architectepaca)\
**Post date:** [April 22, 2022, 3:51pm UTC](https://forum.dynamobim.com/t/cut-selected-geometry-with-second-array-generated-geometry/75749/1 "2022-04-22T15:51:12Z")

</div>

Hello,  
I try in vain to cut a geometry by another generated by a network and I do not see where is the problem to generate the cut and make it appear in REVIT.  
Would you have an answer please?

 ![grille_2022-04-22_05-16-52](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/f/2fc536ed8e3712809084915d9ba7d81f5b71564a.png)

---

<div class="post-metadata">

**Author:** ![bayowindapo](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bayowindapo/32/184532_2.png) [@bayowindapo](https://forum.dynamobim.com/u/bayowindapo)\
**Post date:** [April 22, 2022, 5:39pm UTC](https://forum.dynamobim.com/t/cut-selected-geometry-with-second-array-generated-geometry/75749/2 "2022-04-22T17:39:49Z")

</div>

Hi there

If I understand you correctly, you are trying to intersect all those cylinders with the planar surface?  
Try this:

- Flatten the surface.Thicken list using the List.Flatten node.
- Then use the Solid.Byunion node to join the cylinders.  
Let me know if that is what you are looking for.

---

<div class="post-metadata">

**Author:** ![architectepaca](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/architectepaca/32/103427_2.png) [@architectepaca](https://forum.dynamobim.com/u/architectepaca)\
**Post date:** [April 22, 2022, 6:05pm UTC](https://forum.dynamobim.com/t/cut-selected-geometry-with-second-array-generated-geometry/75749/3 "2022-04-22T18:05:27Z")

</div>

Actually I want to subtract the cylinders from the selected face to get a grid

 ![grille_2022-04-22_08-07-31](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/c/4c2e25d5f7ce9a4197d3ee15895e27ce4e2ff348.png)  
Now is it ok for cutting, buut i would like to create revit element or modify element who is selected

---

<div class="post-metadata">

**Author:** ![bayowindapo](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bayowindapo/32/184532_2.png) [@bayowindapo](https://forum.dynamobim.com/u/bayowindapo)\
**Post date:** [April 22, 2022, 6:19pm UTC](https://forum.dynamobim.com/t/cut-selected-geometry-with-second-array-generated-geometry/75749/4 "2022-04-22T18:19:37Z")

</div>

You want to export the elements into revit?  
Sorry I’m not understanding you. Could you maybe use google translate if English is not your first language. Might help me understand better. Thanks.

---

<div class="post-metadata">

**Author:** ![architectepaca](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/architectepaca/32/103427_2.png) [@architectepaca](https://forum.dynamobim.com/u/architectepaca)\
**Post date:** [April 22, 2022, 6:37pm UTC](https://forum.dynamobim.com/t/cut-selected-geometry-with-second-array-generated-geometry/75749/5 "2022-04-22T18:37:15Z")

</div>

yes that is exactly what I want.  
Be able to display the result in REVIT.

Thank you for you precious help

---

<div class="post-metadata">

**Author:** ![Daan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daan/32/82246_2.png) [@Daan](https://forum.dynamobim.com/u/Daan)\
**Post date:** [April 22, 2022, 7:06pm UTC](https://forum.dynamobim.com/t/cut-selected-geometry-with-second-array-generated-geometry/75749/6 "2022-04-22T19:06:21Z")

</div>

You could use the node DirectShape.FromSolid / BySolid (i dont remember the exact name) from the springs package.

This, however, is only 1 option if you want to create other object types, i.e. a familyinstance, that’s also possible. If you search the forum i’m sure you’ll find plenty of examples.

---

<div class="post-metadata">

**Author:** ![bayowindapo](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bayowindapo/32/184532_2.png) [@bayowindapo](https://forum.dynamobim.com/u/bayowindapo)\
**Post date:** [April 22, 2022, 7:27pm UTC](https://forum.dynamobim.com/t/cut-selected-geometry-with-second-array-generated-geometry/75749/7 "2022-04-22T19:27:50Z")

</div>

See the solution here.

> [@Create solid in revit](https://forum.dynamobim.com/t/create-solid-in-revit/75431/3):
>
> If you work in meters here is the setting you need for the geometry export. If this solves your problem please mark as solved. Cheers.
