Hatch Island detection style

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
Sing
Posts: 48
Joined: 12 Apr 2020, 17:39

Hatch Island detection style

Post by Sing » 09 Dec 2020, 16:19

Hello,

Is there a way to set an attribute of 'Island Detection Style' for hatches?
Attachments
hatch_with_island.PNG
hatch_with_island.PNG (9.19 KiB) Viewed 2471 times

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Hatch Island detection style

Post by support » 10 Dec 2020, 00:11

Hello,

If you create a hatch by code, there is no automatic island detection. You should define the external and internal contours using a CAD2DBoundaryList.BoundaryType property which operates with the following bit-coded flags determining the boundary path type:

0 = Default
1 = External
2 = Polyline
4 = Derived
8 = Textbox
16 = Outermost

Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Sing
Posts: 48
Joined: 12 Apr 2020, 17:39

Re: Hatch Island detection style

Post by Sing » 05 Jan 2021, 11:59

Thank you Mikhail. It works perfectly.

Post Reply