Autodesk ObjectARX
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
about creat New acdbhatch
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
99 Views, 1 Replies
08-30-2012 11:00 PM
hatch->appendLoop();
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
Re: about creat New acdbhatch
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-03-2012 08:30 AM in reply to:
wangjiantaoafei
Hi,
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.
Balaji
Developer Technical Services
Autodesk Developer Network
