<?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 Re: GeometryEngine.Instance.Offset in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryengine-instance-offset/m-p/1615443#M12919</link>
    <description>&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I originally had the bevelratio set to 0. Just confirmed by setting back to 0. Still getting the same error. Checked using multiple polylines. Some with curves some with just lines. It only happens on negative distance values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 May 2025 13:48:20 GMT</pubDate>
    <dc:creator>Living2Learn</dc:creator>
    <dc:date>2025-05-16T13:48:20Z</dc:date>
    <item>
      <title>GeometryEngine.Instance.Offset</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryengine-instance-offset/m-p/1615138#M12910</link>
      <description>&lt;P&gt;ArcGIS Pro 3.3&lt;BR /&gt;ArcGIS Pro SDK 3.3.0.52636&lt;/P&gt;&lt;P&gt;I use this in various tools and all are failing when applying a negative value to the offset distance.&lt;BR /&gt;The error for the left side is "GeometryException: An internal error has occurred in the geometry system."&lt;/P&gt;&lt;P&gt;double righttest = 25;&lt;BR /&gt;double lefttest = -25;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;// This works&lt;BR /&gt;Polyline right = GeometryEngine.Instance.Offset(existgeom, righttest, OffsetType.Round, 0) as Polyline;&lt;/P&gt;&lt;P&gt;// This fails when using a negative value&lt;BR /&gt;Polyline left = GeometryEngine.Instance.Offset(existgeom, lefttest, OffsetType.Round, 0.5) as Polyline;&lt;/P&gt;&lt;P&gt;Worked at 3.2 with out issue.&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 18:32:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryengine-instance-offset/m-p/1615138#M12910</guid>
      <dc:creator>Living2Learn</dc:creator>
      <dc:date>2025-05-15T18:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine.Instance.Offset</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryengine-instance-offset/m-p/1615314#M12916</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I see you use bevelRatio parameter not equal 0 (0.5). That parameter is used&amp;nbsp;only when offsetType is miter. Your offsetType is round. Try reset bevelRatio. Maybe it is a side effect?&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 05:25:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryengine-instance-offset/m-p/1615314#M12916</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2025-05-16T05:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine.Instance.Offset</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryengine-instance-offset/m-p/1615443#M12919</link>
      <description>&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I originally had the bevelratio set to 0. Just confirmed by setting back to 0. Still getting the same error. Checked using multiple polylines. Some with curves some with just lines. It only happens on negative distance values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 13:48:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryengine-instance-offset/m-p/1615443#M12919</guid>
      <dc:creator>Living2Learn</dc:creator>
      <dc:date>2025-05-16T13:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine.Instance.Offset</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryengine-instance-offset/m-p/1615504#M12921</link>
      <description>&lt;P&gt;For anyone that comes across this here is solution.&lt;/P&gt;&lt;P&gt;double righttest = 25;&lt;BR /&gt;double lefttest = -25;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;// This works&lt;BR /&gt;Polyline right = GeometryEngine.Instance.Offset(existgeom, righttest, OffsetType.Round, 0) as Polyline;&lt;/P&gt;&lt;P&gt;// This works when using a negative value&lt;BR /&gt;Polyline left = GeometryEngine.Instance.Offset(existgeom, lefttest, OffsetType.Miter, 0.5) as Polyline;&lt;/P&gt;&lt;P&gt;Hopefully, it will not change with the next version.&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 15:27:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geometryengine-instance-offset/m-p/1615504#M12921</guid>
      <dc:creator>Living2Learn</dc:creator>
      <dc:date>2025-05-16T15:27:57Z</dc:date>
    </item>
  </channel>
</rss>

