New Member
Posts: 1
Registered: ‎08-30-2012
Message 1 of 2 (144 Views)

about creat New acdbhatch

144 Views, 1 Replies
08-30-2012 11:00 PM


 I have a number of Acgeentities,but  no sort,and Do not know who is and who is connected

it can be this[]


or like this:

and so on.....



next i want creat a acdbhatch

ADN Support Specialist
Posts: 666
Registered: ‎03-21-2011
Message 2 of 2 (125 Views)

Re: about creat New acdbhatch

09-03-2012 08:30 AM in reply to: wangjiantaoafei



You will clearly need to know the boundary to create a hatch or let AutoCAD determine the boundary using the "BOUNDARY" command by providing a point inside the closed area.


From what you have described, you may need to traverse all the entities and write some algorithm that compares their end points and determines closed loops. After you have identified the boundary loops, the hatches can be created.


Hope this helps.

Developer Technical Services
Autodesk Developer Network

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community