<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic GeometryObjectException thrown when create Polyline with an EllipticArcSegment in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryobjectexception-thrown-when-create/m-p/1173064#M8125</link>
    <description>&lt;P&gt;I used EllipticArcBuilder.CreateEllipticArcSegment() to create a segment, and passed the segment to&amp;nbsp; PolylineBuilder.CreatePolyline() function to generate a polyline. It gave me an error. But it worked when I use arcgis pro 2.8. It happens after I update my Arcgis pro to 2.9.3. Any suggest is appreciated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChangmingDu_0-1652306851248.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41145iF6E3E9189B28ED17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChangmingDu_0-1652306851248.png" alt="ChangmingDu_0-1652306851248.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 22:11:21 GMT</pubDate>
    <dc:creator>ChangmingDu</dc:creator>
    <dc:date>2022-05-11T22:11:21Z</dc:date>
    <item>
      <title>GeometryObjectException thrown when create Polyline with an EllipticArcSegment</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryobjectexception-thrown-when-create/m-p/1173064#M8125</link>
      <description>&lt;P&gt;I used EllipticArcBuilder.CreateEllipticArcSegment() to create a segment, and passed the segment to&amp;nbsp; PolylineBuilder.CreatePolyline() function to generate a polyline. It gave me an error. But it worked when I use arcgis pro 2.8. It happens after I update my Arcgis pro to 2.9.3. Any suggest is appreciated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChangmingDu_0-1652306851248.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41145iF6E3E9189B28ED17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChangmingDu_0-1652306851248.png" alt="ChangmingDu_0-1652306851248.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 22:11:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryobjectexception-thrown-when-create/m-p/1173064#M8125</guid>
      <dc:creator>ChangmingDu</dc:creator>
      <dc:date>2022-05-11T22:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryObjectException thrown when create Polyline with an EllipticArcSegment</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryobjectexception-thrown-when-create/m-p/1173142#M8128</link>
      <description>&lt;P&gt;The following still works for me with Pro 2.9.3&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;      //build a search circle geometry
      var cent = new Coordinate2D(mapPoint);
      var searchGeom = EllipticArcBuilder.CreateEllipticArcSegment(cent, searchRadius, esriArcOrientation.esriArcClockwise, MapView.Active.Map.SpatialReference);
      var searchPB = new PolygonBuilder(new[] { searchGeom });
      return searchPB.ToGeometry();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which&amp;nbsp;CreateEllipticArcSegment overload are you using?&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 00:50:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryobjectexception-thrown-when-create/m-p/1173142#M8128</guid>
      <dc:creator>sjones_esriau</dc:creator>
      <dc:date>2022-05-12T00:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryObjectException thrown when create Polyline with an EllipticArcSegment</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryobjectexception-thrown-when-create/m-p/1173325#M8136</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/517790"&gt;@sjones_esriau&lt;/a&gt;&amp;nbsp;Thanks for your reply.&amp;nbsp; I put my simple code below. Do I make anything wrong?&lt;/P&gt;&lt;P&gt;var arc2 = EllipticArcBuilder.CreateEllipticArcSegment(new Coordinate2D(-3924039.8966005351, 3789702.0418286407), -4.484, 6.280, 0, 16780, 1);&lt;BR /&gt;var poly2 = PolylineBuilder.CreatePolyline(arc2);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 13:59:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryobjectexception-thrown-when-create/m-p/1173325#M8136</guid>
      <dc:creator>ChangmingDu</dc:creator>
      <dc:date>2022-05-12T13:59:50Z</dc:date>
    </item>
  </channel>
</rss>

