# Adding Underlay Hatching to MTEXT by Extracting and Offsetting Geometry

**URL:** <https://forum.dynamobim.com/t/adding-underlay-hatching-to-mtext-by-extracting-and-offsetting-geometry/73262>\
**Category:** Civil 3D\
**Tags:** geometry\
**Created:** [February 11, 2022, 6:42pm UTC](https://forum.dynamobim.com/t/adding-underlay-hatching-to-mtext-by-extracting-and-offsetting-geometry/73262 "2022-02-11T18:42:02Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![WrightEngineering](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/wrightengineering/32/115676_2.png) [@WrightEngineering](https://forum.dynamobim.com/u/WrightEngineering)\
**Post date:** [February 15, 2022, 8:17pm UTC](https://forum.dynamobim.com/t/adding-underlay-hatching-to-mtext-by-extracting-and-offsetting-geometry/73262/9 "2022-02-15T20:17:54Z")

</div>

This is very similar to what I’m trying to do: [Creating a 3D Letter, Curves are not closed, where is my error?](https://forum.dynamobim.com/t/creating-a-3d-letter-curves-are-not-closed-where-is-my-error/57513)

I’m realizing that the reason the code in the above forum post works, but this graph fails when trying to use the “PolyCurve.ByjoinedCurves” node, is because the curves are not grouped by letter. I need to find a way to group the curves per letter. I’m guessing finding shared start and end points may assist in this.

It seems that [archi-lab](https://forum.dynamobim.com/t/revit-2022-dynamo-2-10-package-not-showing-up-and-icons-missing/62933/7?) has a node for this exact issue called “group\_curves” that @GavinNicholls references in the following post: [PolyCurve.ByjoinedCurves warning: Curve join produced more than one WIRE in PolyCurve - #2 by Kulkul](https://forum.dynamobim.com/t/polycurve-byjoinedcurves-warning-curve-join-produced-more-than-one-wire-in-polycurve/69596/2) and is also mentioned here: [Find Sets of closed curves](https://forum.dynamobim.com/t/find-sets-of-closed-curves/1251) However, I don’t believe I can access [archi-lab](https://forum.dynamobim.com/t/revit-2022-dynamo-2-10-package-not-showing-up-and-icons-missing/62933/7?) in dynamo for civil 3d.

@Konrad_K_Sobon Is it possible to access your [archi-lab](https://forum.dynamobim.com/t/revit-2022-dynamo-2-10-package-not-showing-up-and-icons-missing/62933/7?) package in dynamo for civil 3d? If not, could you possibly provide the code in the “group\_curves” node you made so I can try to see how you accomplished this?

I’m thinking of making a new post under “geometry” as it seems a more fitting description for the current issue and reporting back here if I find anything.

---

_[View the full topic](https://forum.dynamobim.com/t/adding-underlay-hatching-to-mtext-by-extracting-and-offsetting-geometry/73262)._
