Posts: 12
Registered: ‎05-19-2005
Message 1 of 2 (85 Views)

Programmatically recreate hatch boundaries?

85 Views, 1 Replies
11-11-2005 10:24 AM
Is there anyway to recreate a hatch's boundaries from .NET? Essentially I want to do the following without sending a string to the document to execute:

(command "-hatchedit" (handent "handle") "B" "P" "Y")

Distinguished Contributor
Posts: 311
Registered: ‎07-29-2004
Message 2 of 2 (85 Views)

Re: Programmatically recreate hatch boundaries?

11-15-2005 05:33 AM in reply to: mlovitt
I have not tried it yet, but it looks like you should be able to use Autodesk.AutoCAD.DatabaseServices.Hatch object.
Try the NumberOfLoops property and GetLoopAt method.

Chris Arps
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.