Hot answers tagged

7 votes
Accepted

Turning off layer visibility in ArcGIS Pro with Python

I expect that your for loop never runs, because there is no layout element that matches your "Layer" wildcard. You should be getting your layers from the map, not from the layout. Use m....
Son of a Beach's user avatar
2 votes

Moving points based on updated x,y values

I'll guess that: 1.you have a way to select the points where the new coords are needed. 2.you have two columns with coords. If thats the case do: filter the data get the coords, create Geometry make ...
Hildermes José Medeiros Filho's user avatar
1 vote

OS Error CURRENT using ArcPy in ArcGIS Pro

first change this line - the project file extension is .aprx aprx = arcpy.mp.ArcGISProject(r'C:\Path\To\Projectaprx\test.aprx') example:
Hildermes José Medeiros Filho's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible