Simplify nurbs curve to arcs and lines

I need to convert (simplify) a nurbs curve and i use for this RhinoSimplifyCurve. Sometimes it works very good, but very often it simply does not convert the nurbs curve to arcs. In Rhino itself i can convert the nurbs curve with the command “_Convert”.
Is there a c++ function call available with the same functionality as “_Convert” ?

Hi @dsw,

I don’t think RhinoSimplifyCurve was ever designed to be functionally the same as the Convert command, albeit that the command does use this function.

Anyway, I’ve added a wish item for such a function.

https://mcneel.myjetbrains.com/youtrack/issue/RH-40254

For now, all I can suggest is scripting the command.

– Dale