How should ArcPy be referred to when used with ArcGIS Pro?

المشرف العام

Administrator
طاقم الإدارة
ArcGIS Pro uses Python 3 whereas the other ArcGIS for Desktop applications (ArcMap, ArcCatalog, ArcScene and ArcGlobe) use Python 2:

the changes introduced with ArcGIS Pro were significant enough to merit a module name space change. The new name also offers more flexibility in terms of the capabilities arcpy.mp can offer. For example, in addition to map automation, arcpy.mp can also provide project level management.

Is there an Esri recommended way to refer to the ArcPy site-package that is imported into Python 3, that enables it to be distinguished from the ArcPy site-package that is imported into Python 2?

Often it may be possible to tell from context, but in at least one question here (Add/Remove Relate in ArcGIS Pro but not ArcPy?) the version/flavour of ArcPy being referred to is not clear to me and which it is would affect the answer that I would give.

Before I start to make up something like:

  • ArcPy for Python 3 vs ArcPy for Python 2
  • ArcPy 3 vs ArcPy 2
  • ArcPy Pro vs ArcPy
  • ArcPy for ArcGIS Pro vs ArcPy for ArcGIS for Desktop except for ArcGIS Pro
  • etc
I am keen to know whether there is already suitable terminology.



أكثر...
 
أعلى