Adding Underlay Hatching to MTEXT by Extracting and Offsetting Geometry

So it seems that first the text has to be exploded with “txtexp” command. Then, I tried to use this linework, but the linework was returning “points are not coincident” and some portions were missing. I found if I converted the 2d polylines to 3d polylines, that fixed the issue. I’m able to use surface.byunion and surface.perimeter curves, to get the perimeter curves; however, they are not closed and I seem to be unable to close the curves with the PolyCurve.ByjoinedCurves node. When I try to join them I get “curve join produced more than one WIRE in polycurve”. I noticed the following thread fixed that issue by using a custom node; however, that node only seems available within dynamo for revit? → PolyCurve.ByjoinedCurves warning: Curve join produced more than one WIRE in PolyCurve
TextHalo.dwg (2.7 MB)