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

Coordinates of Vertices of Region-Objects in AutoCAD

3 REPLIES 3
Reply
Message 1 of 4
joc007
968 Views, 3 Replies

Coordinates of Vertices of Region-Objects in AutoCAD

Hello,

I want to handle Region-Objects in AutoCAD. One issue is, I want to read the coordinates of the vertices. When I start an Iterator (with VBA or C#), I can’t detect an order, in which the vertices are covered.

Does anybody know, in which order the vertices are covered? It would be very helpful!

Thanks,
Jochen
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: joc007

What iterator are you talking about?

Albert

wrote in message news:4955678@discussion.autodesk.com...
Hello,

I want to handle Region-Objects in AutoCAD. One issue is, I want to read the
coordinates of the vertices. When I start an Iterator (with VBA or C#), I
can't detect an order, in which the vertices are covered.

Does anybody know, in which order the vertices are covered? It would be very
helpful!

Thanks,
Jochen
Message 3 of 4
joc007
in reply to: joc007

The problem is as follows:
We are iterating over all entities in a drawing and on finding a region we explode it. What we get back from the explode method is an array of AcadLine objects. But if we iterate over this array the AcadLine objects are not, at least to our concern, returned in any particular order. Is this true, or do we just missing something?

The reason we want to know the exact order is that we are trying to convert the region into a polyline of the exact same shape.

Thanks for any help.
Message 4 of 4
Anonymous
in reply to: joc007

That maybe so but it shouldn't prevent you from doing what you'd like to do.
You simply have to order them based on coincident vertices.

Albert

wrote in message news:4959935@discussion.autodesk.com...
The problem is as follows:
We are iterating over all entities in a drawing and on finding a region we
explode it. What we get back from the explode method is an array of AcadLine
objects. But if we iterate over this array the AcadLine objects are not, at
least to our concern, returned in any particular order. Is this true, or do
we just missing something?

The reason we want to know the exact order is that we are trying to convert
the region into a polyline of the exact same shape.

Thanks for any help.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost