# Hatch/area from closed boundaries composed by multiple polylines

**URL:** <https://forum.dynamobim.com/t/hatch-area-from-closed-boundaries-composed-by-multiple-polylines/80856>\
**Category:** Civil 3D\
**Created:** [September 9, 2022, 11:09am UTC](https://forum.dynamobim.com/t/hatch-area-from-closed-boundaries-composed-by-multiple-polylines/80856 "2022-09-09T11:09:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![goncalogbastos](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@goncalogbastos](https://forum.dynamobim.com/u/goncalogbastos)\
**Post date:** [September 9, 2022, 11:09am UTC](https://forum.dynamobim.com/t/hatch-area-from-closed-boundaries-composed-by-multiple-polylines/80856/1 "2022-09-09T11:09:33Z")

</div>

Hi all,  
I’m trying to retrieve areas between AutoCAD polylines. My approach is to identify closed boundaries between the polylines and then to hatch those areas and get their area values using Dynamo.

Bellow you can find a print screen of what I’m trying to do. From step 0 to 1, I had to close the end points from both polylines and this step I’ve already accomplished. My question is from step 1 to 2, where I need Dynamo to identify the closed boundaries with multiple polylines to that I can create the hatch. I can’t seem to find a way to solve this, but maybe there is a simple solution that I am not seeing.

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/1/01c9ceadbfa30897ac9b8eaf7cd56ff9cda86908.png)

I hope this makes sense.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Drbohlav](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/drbohlav/32/113004_2.png) [@Drbohlav](https://forum.dynamobim.com/u/Drbohlav)\
**Post date:** [September 9, 2022, 12:32pm UTC](https://forum.dynamobim.com/t/hatch-area-from-closed-boundaries-composed-by-multiple-polylines/80856/2 "2022-09-09T12:32:51Z")

</div>

Hi @goncalogbastos,  
try this:

 ![D4C3D_polylineHatch_01.1_2022-09-09_02-31-16](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/f/7fecb7eff06aaa3e2b2fa3eb0b5e45230af6a8cb.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/4/f4c164c5880fcea8f91099c735184ae9d4142ece.png)

---

<div class="post-metadata">

**Author:** ![goncalogbastos](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@goncalogbastos](https://forum.dynamobim.com/u/goncalogbastos)\
**Post date:** [September 12, 2022, 11:19am UTC](https://forum.dynamobim.com/t/hatch-area-from-closed-boundaries-composed-by-multiple-polylines/80856/3 "2022-09-12T11:19:59Z")

</div>

Thank you @Drbohlav , that approach solves my problem
