Message 1 of 7
Problem with AcDbPolyline::convertTo() function
Not applicable
03-22-2004
01:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to convert a pline (type 2 or 1) to a 2dpline (type 0). I didn't find
any sample on that...so what should be open for write...
my algorithm is:
- select an entity
- chech it's type
- if isKindOf AcDbPolyline
- it should be converted to AcDb2dPolyline
or, what type of pline is best to use? (plinetype); I want my users not to
worry with plinetype,
so a pline manipulation function must behave the same for all type of
plines...Since I don't know how to
iterate trough vertices of an AcDbPolyline, I want to use just
AcDb2dPolyline (or 3d...). I hope I was clear enough...
Thanks, ing. Vladimir Gora