Hi, is there any library that converts Geometry features with arc to polylines with bulges?
Using the GeometryConverter.Autocad Library I only get polylines without bulges.
Just wanted to check before coding my own converter.
Regards
Solved! Go to Solution.
Hi, is there any library that converts Geometry features with arc to polylines with bulges?
Using the GeometryConverter.Autocad Library I only get polylines without bulges.
Just wanted to check before coding my own converter.
Regards
Solved! Go to Solution.
Solved by dries.ketels. Go to Solution.
For anybody....
the solution:
var feature = //some autocad map feature
var geometry = feature.Geometry;
var converter = new Autodesk.Map.IM.GeometryConverter.AutoCAD.Converter();
var polyLine = converter.ConvertTo(geometry as LineString, typeof(Polyline)) as Polyline;
Regards,
For anybody....
the solution:
var feature = //some autocad map feature
var geometry = feature.Geometry;
var converter = new Autodesk.Map.IM.GeometryConverter.AutoCAD.Converter();
var polyLine = converter.ConvertTo(geometry as LineString, typeof(Polyline)) as Polyline;
Regards,
Can't find what you're looking for? Ask the community or share your knowledge.