ACadSharp
ACadSharp copied to clipboard
Create Hatch using entities
I'm not sure how Autocad handles the entities in the BoundaryPath I think they are only used as a reference, meaning that if you change the entity size the hatch is updated as well, but as far as I know, to draw a Hatch you need to create the edges, adding the entity doesn't do the trick.
So this line boundaryPath.Entities.Add(circle); is not creating anything, only referencing (I think).
Originally posted by @DomCR in https://github.com/DomCR/ACadSharp/discussions/466#discussioncomment-10818181