We are using TraceBoundary to detect boundary. Seems like this method has limited (broken?) functionality compared to the UI (and AutoCAD). In the UI the user can choose if the created boundary should be a polyline or a region. The same choice is not available in the API call. So far this is the same as in AutoCAD. But when using the API call AutoCAD either creates a polyline or a region - as required. Seems like IntelliCAD always creates a polyline. Since a polyline segment can not represent an ellipse this returns incorrect polyline if for example the boundary contains an ellipse. The ellipse segment is represented as a straight line segment. Not correct.
1. Is there a way to create a boundary region instead of polyline using the API?
2. If there is no way then is there a way to detect if an ellipse segment has been detected as a straight line segment so at least our program can detect that the created polyline is incorrect? Or is there a way to simply fail the boundary detection in this situation?
Here is a link to a command which can be used to recreate the issue both in AutoCAD and IntelliCAD
https://www.keanw.com/2010/06/tracing-a ... g-net.html
To test simply create a polyline with an intersecting ellipse and detect the shape.
AutoCAD:

IntelliCAD:

Kind regards
Geza