laptop and a wrench

Bug

The EllipticArcBuilderEx.CreateEllipticArcSegment object returns an error, "System.ArgumentException: 'Value does not fall within the expected range."

ArcGIS Pro SDK for .NET
Bug ID Number BUG-000160929
SubmittedAugust 25, 2023
Last ModifiedFebruary 10, 2025
Applies toArcGIS Pro SDK for .NET
Version found3.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

The development team determined that this behavior is as designed. Please log any suggestions for improvements on the ArcGIS Ideas site.

Workaround

If the x, y coordinates of the start and end points are equal, as in this case, calling for EllipticArcBuilderEx.CreateCircularArc(MapPoint, MapPoint, Coordinate2D, ArcOrientation, SpatialReference) or EllipticArcBuilderEx(Coordinate2D, double, double, double, ArcOrientation, SpatialReference), change the start and end points to have z-values before calling the EllipticArcBuilderEx.ToSegment class.

Steps to Reproduce

Bug ID: BUG-000160929

Software:

  • ArcGIS Pro SDK for .NET

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options