ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

about creat New acdbhatch

1 REPLY 1
Reply
Message 1 of 2
wangjiantaoafei
378 Views, 1 Reply

about creat New acdbhatch

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

1 REPLY 1
Message 2 of 2

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost