AnsweredAssumed Answered

Polygon.cut() method throws RuntimeError: An internal error has occurred in the geometry system.

Question asked by kuiperfoliage on Apr 30, 2018
Latest reply on Apr 30, 2018 by xander_bakker

polygon.cut(cutter) throws the following error:

Runtime error
Traceback (most recent call last):
File "<string>", line 12, in <module>
File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\arcobjects\arcobjects.py", line 825, in cut
return convertArcObjectToPythonObject(self._arc_object.Cut(*gp_fixargs((other,))))
RuntimeError: An internal error has occurred in the geometry system.

it is working successfully for other studies i ran this tool with, but fails on this particular one with no clear error message or indication on what to do.

 

Attached is the GDB on which i try to execute the following script

import arcpy

fields = ['SHAPE@']

for row_bounding_polygon in arcpy.da.SearchCursor("bounding_polygon", fields):
feat_bounding_polygon = row_bounding_polygon[0]

for row_polylines in arcpy.da.SearchCursor("debug_polylines", fields):
feat_polyline = row_polylines[0]

cut_feature = feat_bounding_polygon.cut(feat_polyline)

Any help from Esri on what is going wrong here would be helpful. thanks!

Attachments

Outcomes