|
IDEA
|
@fireapple Python CIM access is not available to arcpy.mapping (for ArcMap). ArcGIS Pro projects and document settings use the CIM specification for persistance where MXDs do not. Jeff - arcpy.mp and Layout teams
... View more
09-21-2023
02:15 PM
|
0
|
0
|
1947
|
|
IDEA
|
We have near term plans to help with applying existing symbology to other existing objects. We will take your scenario into consideration when designing a workflow and may post some follow-up questions as we get closer to development. Jeff - Layout and arcpy.mp teams
... View more
08-08-2023
02:06 PM
|
0
|
0
|
2413
|
|
IDEA
|
@nadja Have you tried: Map.openView()? It opens a view for the map objects AND activates it. This works for Layout and Reports too. We also have ArcGISProject.closeViews() Jeff - Layout and arcpy.mp teams
... View more
08-04-2023
09:33 AM
|
0
|
0
|
3257
|
|
IDEA
|
This is something that can be done using Python CIM Access. p = arcpy.mp.ArcGISProject('current')
m = p.listMaps()[0]
l = m.listLayers('Cities')[0]
l_cim = l.getDefinition('V3') #Get the layer's CIM definition
l_cim.featureTable.editable = False #Modify the editable state
l.setDefinition(l_cim) #Push the CIM changes back to the layer
... View more
08-01-2023
01:04 PM
|
0
|
0
|
1589
|
|
POST
|
You could create a support issue and add yourself to the existing bug. Jeff
... View more
07-31-2023
04:20 PM
|
0
|
1
|
2317
|
|
POST
|
@tempStephenRhea_NV5 This is a known issue / bug and it can be tracked at: https://support.esri.com/en-us/bug/publishing-a-map-image-layer-using-arcpy-disables-popup-bug-000154648
... View more
07-31-2023
10:33 AM
|
0
|
3
|
2325
|
|
POST
|
@tempStephenRhea_NV5 I don't have a suggestion. I forwarded to the appropriate team. Jeff
... View more
07-31-2023
04:52 AM
|
0
|
5
|
2341
|
|
IDEA
|
At Pro 3.2 we've added the ability to reference existing styles via the ArcGISProject.listStyleItems() method. Post 3.2, and hopefully Pro 3.3, we plan to add the capability to add styles to a project like we did with folder connections and databases. Jeff - Layout and arcpy.mp teams
... View more
07-07-2023
12:35 PM
|
0
|
0
|
1907
|
|
IDEA
|
I'm going to close this issue. I think there is a very simple solution using arcpy.mp. I've made slight changes to the second code snippet from the MapSeries Class help topic: https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/mapseries-class.htm So it iterates through each map series page and instead of exporting to PNG, it copies a layout and names it based on the map series name. import arcpy, os
p = arcpy.mp.ArcGISProject(r"C:\temp\GreatLakes\GreatLakes.aprx")
l = p.listLayouts('*_MS*')[0]
if not l.mapSeries is None:
ms = l.mapSeries
if ms.enabled:
for pageNum in range(1, ms.pageCount + 1):
ms.currentPageNumber = pageNum
pageName = ms.pageRow.NAME
print(f"Copying {pageName} to new layout")
p.copyItem(l, pageName)
p.saveACopy(r"C:\temp\GreatLakes\GreatLakes_MSPages2Layouts.aprx")
os.startfile(r"C:\temp\GreatLakes\GreatLakes_MSPages2Layouts.aprx")
... View more
07-06-2023
02:32 PM
|
0
|
0
|
6019
|
|
IDEA
|
This is an older issue and I'm not seeing any new traffic so I assume that AddDataFromPath addresses the issue.
... View more
07-06-2023
08:40 AM
|
0
|
0
|
1239
|
|
IDEA
|
This will be available at Pro 3.2. You will have the ability to create new Layouts and layout elements including graphic elements. The functions will be ArcGISProject.createGraphicElement() and ArcGISProject.createPredefinedGraphicElement(). They on the ArcGISProject object because you can create graphic elements on a layout OR in a map's graphics layer. In addition to the constructors, we also will expose a get/SetDefinition on layout elements. This makes it much easier to get to many more properties including symbology. Post 3.2 we hope to add additional symbology constructors that make setting symbology more streamlined w/o having to use the CIM. Jeff - Layout and arcpy.mp teams
... View more
07-05-2023
01:15 PM
|
0
|
0
|
2815
|
|
IDEA
|
This will be available at Pro 3.2. You will have the ability to create new Layouts and layout elements including graphic elements. The functions will be ArcGISProject.createGraphicElement() and ArcGISProject.createPredefinedGraphicElement(). They on the ArcGISProject object because you can create graphic elements on a layout OR in a map's graphics layer. In addition to the constructors, we also will expose a get/SetDefinition on layout elements. This makes it much easier to get to many more properties including symbology. Post 3.2 we hope to add additional symbology constructors that make setting symbology more streamlined w/o having to use the CIM. Jeff - Layout and arcpy.mp teams
... View more
07-05-2023
01:12 PM
|
0
|
0
|
1455
|
|
IDEA
|
This will be available at Pro 3.2. You will have the ability to create new Layouts and layout elements including picture elements. The function will be ArcGISProject.createPictureElement(). Its on the ArcGISProject object because you can create picture elements on a layout OR in a map's graphics layer. Note - we don't have currently plans to add an Object. Jeff - Layout and arcpy.mp teams
... View more
07-05-2023
01:08 PM
|
0
|
0
|
1650
|
|
IDEA
|
This will be available at Pro 3.2. You will have the ability to create new Layouts and layout elements including text elements. The function will be ArcGISProject.createTextElement(). Its on the ArcGISProject object because you can create text elements on a layout OR in a map's graphics layer. Jeff - Layout and arcpy.mp teams
... View more
07-05-2023
01:06 PM
|
0
|
0
|
2085
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-05-2025 11:20 AM | |
| 3 | 06-05-2025 09:21 AM | |
| 1 | 05-14-2025 01:19 PM | |
| 2 | 04-24-2025 07:54 AM | |
| 1 | 03-15-2025 07:19 PM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|