.NET
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
Coordinate s of Vertices of Region-Obj ects in AutoCAD
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
184 Views, 3 Replies
09-14-2005 03:58 AM
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
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
*Albert Szilvasy
Re: Coordinate s of Vertices of Region-Obj ects in AutoCAD
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-16-2005 03:42 PM 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
Albert
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
Re: Coordinate s of Vertices of Region-Obj ects in AutoCAD
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-19-2005 02:31 AM 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.
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.
*Albert Szilvasy
Re: Coordinate s of Vertices of Region-Obj ects in AutoCAD
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-19-2005 09:01 PM 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.
You simply have to order them based on coincident vertices.
Albert
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.

