Skip to main content
6 of 8
deleted 49 characters in body
User1974
  • 1.3k
  • 16
  • 64

Determining if polyline has true curve using ArcPy with ArcMap

I am using ArcPy with ArcMap 10.7.1.

I want to densify SDE.ST_GEOMETRY polylines if (and only if) the polylines have true curves.

If I were using ArcPy with the latest version of ArcGIS Pro (instead of ArcMap), then I think the hasCurves property could be used like this:

for row in cursor:
    polyline = row[0]
    if polyline.hasCurves() == True:
        polyline = polyline.densify('ANGLE', 10, 0.174533) #radians

Unfortunately, the hasCurves property doesn't seem to be available for a Polyline in ArcMap 10.7.1.

#ArcPy/ArcMap 10.7.1

AttributeError: 'Polyline' object has no attribute 'hasCurves'              

In ArcMap 10.7.1, is there an alternative option for determining if polylines have true curves?

User1974
  • 1.3k
  • 16
  • 64