AutoCAD Map 3D Developer
Welcome to Autodesk’s AutoCAD Map 3D Developer Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D Developer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Library for converting Geometry to Polyline with bulges

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
dries.ketels
862 Views, 2 Replies

Library for converting Geometry to Polyline with bulges

dries.ketels
Contributor
Contributor

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

0 Likes

Library for converting Geometry to Polyline with bulges

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

2 REPLIES 2
Message 2 of 3
dries.ketels
in reply to: dries.ketels

dries.ketels
Contributor
Contributor
Accepted 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,

Message 3 of 3
Anonymous
in reply to: dries.ketels

Anonymous
Not applicable

Merci Dries, just what i needed.

 

0 Likes

Merci Dries, just what i needed.

 

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

Post to forums  

Autodesk Design & Make Report