Error in documentation in 'Guidelines for arcpy.mp'

275
2
04-22-2021 07:16 PM
LeandraGordon
Occasional Contributor II

Minor error in documentation in https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/guidelines-for-arcpy-mapping.htm

 

An example of using the CURRENT keyword.

aprx = arcpy.mp.ArcGISProject('current')

should be aprx = arcpy.mp.ArcGISProject('CURRENT')
Tags (2)
2 Replies
DanPatterson
MVP Esteemed Contributor

There is a link on the bottom right of any help document page where you can notify the Help people about help content issues.  If you could notify them of any issues there, they will be addressed.


... sort of retired...
0 Kudos
JohannesLindner
MVP Regular Contributor

To be fair, "current" works.

 

# this works, too
aprx = arcpy.mp.ArcGISProject('CuRrEnT')

 


Have a great day!
Johannes
0 Kudos