Select to view content in your preferred language

Create, edit, move layout map elements in ArcPy

773
1
03-23-2012 11:29 AM
Status: Already Offered
Labels (1)
RobCocking
Occasional Contributor

It would be great if ArcPy allowed me to create and manipulate map elements (move, copy, group) in a layout such as coloured boxes, lines and annotation.  Specifically, I would like to potentially write a python script that created a legend according to my organizations standards.  The ArcGIS Legend Generator doesn't give me the flexibility to do that and I would like to create those same elements programmatically, probably based on input from a text file or xls.  I imagine an input file would provide the text, symbology for polygon boxes, lines, points.

1 Comment
JeffBarrette
Status changed to: Already Offered

This is a very old ArcMap idea that is being closed because these capabilities will not be added to ArcMap and were added at ArcGIS Pro 3.4.

ArcGISProject—ArcGIS Pro | Documentation

Has: createGraphicElement(), createGroupElement, createLayout, createPictureElement, createPredefinedGraphicElements, and createTextElements.

Layout—ArcGIS Pro | Documentation

Has: createMapFrame(), createMapSurroundElement(), createTableFrameElement()

 

Jeff - arcpy.mp Team