Page 1 of 1

Create TsgDXFLWPolyline with hatch

Posted: 16 Mar 2023, 11:05
by TomášTrnka
How can I set hatch or fill to TsgDXFCircle,TsgDXFLWPolyline entities. How to set the Associativity flag.
Thanks Tomas

Re: Create TsgDXFLWPolyline with hatch

Posted: 17 Mar 2023, 14:54
by support
TomášTrnka wrote:
16 Mar 2023, 11:05
How can I set hatch or fill to TsgDXFCircle,TsgDXFLWPolyline entities. How to set the Associativity flag.
Thanks Tomas

Hi Thomas,

We don't have a direct function that allows transforming an input entity to an output hatch. However, we have another useful feature, such as DXFConv.GetBoundariesPolylines, or
protected TsgCADBoundaryData.GenerateListOfBoundaries, that can be called from TsgCADCurvePolygon.GenerateListOfBoundaries.

As for Associativity flag. We don't have such a feature.

Regards,
Catherine.