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

Programmatically recreate hatch boundaries?

82 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 (82 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
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.