Message 1 of 6
Convert line to polyline
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Forum,
I want to convert a line (Autodesk.AutoCAD.DatabaseServices.Line) to a polyline (Autodesk.AutoCAD.DatabaseServices.Polyline).
Currently I get all the properties from the line, create a new polyline with it and delete the line. I fear data may get lost this way. What is the best way to convert a line to a polyline?
// Line properties: // Color. // Layer. // Linetype. // Linetype scale. // Plot style. // Lineweight. // Hyperlink. // Thickness. // Material. // Start X. // Start Y. // Start Z. // End X. // End Y. // End Z. // Start point. // End point.
Thank you.