Hatching 2D-Polygons using a specific pattern

Hi all :wave:,

I am new to dynamo. I am developing a dynamo script that takes in parameters and creates a closed 2D polygon in CIVIL 3D-2020 (using polyline3D.ByPoints).

I am able to get the polygon on CIVIL-3D alright, but was wondering if I could get a sequence to automatically hatch the polygon with a specific pattern (say gravel).

Any lead is much appreciated.

Thanks in advance!
Hari :slightly_smiling_face: