Hatch

Hatch

alain.holloway
Contributor Contributor
477 Views
3 Replies
Message 1 of 4

Hatch

alain.holloway
Contributor
Contributor

I need to create a Hatch (C#) to fill this figure, all lines are Polyline.

 

alainholloway_0-1685717040040.png

How do I proceed?

 

Thank you

0 Likes
478 Views
3 Replies
Replies (3)
Message 2 of 4

norman.yuan
Mentor
Mentor

You can learn how to write .NET API code to create a Hatch object here:

 

https://help.autodesk.com/view/OARX/2022/ENU/?guid=GUID-01A47A4F-9FC5-4DB6-8C3E-B72D75688965 

 

 

 

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 3 of 4

alain.holloway
Contributor
Contributor

The problem is not with the creation of a Hatch object,  the problem is how to Append polyline with bugles (curve) without Closed property been set to true?

 

Thank you

0 Likes
Message 4 of 4

alain.holloway
Contributor
Contributor

Setting the Polyline Closed property to true resulting in this

 

alainholloway_0-1685732224043.png

 

0 Likes