Select to view content in your preferred language

Arcpy Modify Graphic Elements

882
2
01-11-2012 12:14 PM
Status: Implemented
Labels (1)
GusMartinka
Occasional Contributor

It would be very useful if I could change graphic layout elements with arcpy, beyond the size, name and position that is currently possible.

Being able to change the fill color in a polygon or the symbol of a marker point would fill some of the gaps in cartographic automation. 

2 Comments
JeffBarrette
Status changed to: In Product Plan

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

JeffBarrette
Status changed to: Implemented

This Idea has been implemented in ArcGIS Pro 3.2. Please see the What's New documentation for more new features in Pro 3.2.

The Your Ideas in ArcGIS Pro 3.2 blog and video have been posted to the Esri Community blog. You can take a look at these to see your idea and all others that were implemented in this release of ArcGIS Pro.

Jeff - Layout and arcpy.mp teams