Select to view content in your preferred language

ArcPy Geoprocessing Tools allow Spatially Enabled DataFrame (SEDF) as input

655
2
05-03-2023 09:09 AM
TylerT
by
Frequent Contributor

Hello,

I noticed a breaking change recently to the arcpy API and ArcGIS API for python.  My previous scripts allowed SEDFs as input features to ArcGIS Pro Geoprocessing Tools but now error out with SEDF as input features.  This doesn't seem to be working any longer.  Has anybody else noticed this change?

For example arcpy.management.Dissolve(sedf, ....) used to work just fine, but causes error now.

Thank you,

Tyler

ArcGIS Pro 3.1

0 Kudos
2 Replies
HannesZiegler
Esri Contributor

Hi @TylerT, I am able to use SEDF as input to GP tools (I tried with CopyFeatures) without issue on Pro 3.1 and 3.1.2.

HannesZiegler_0-1688063034089.png

Are you working in a cloned Python environment? If so, what packages have you installed? One of the packages you installed may be causing an issue.

0 Kudos
TylerT
by
Frequent Contributor

hmm...thanks for the check, and glad to know SEDFs are still accepted as input.  I'll have to dig a little deeper.  

Tyler

0 Kudos