Is there a way in Python 3.x to programmatically select a layout element, such as a scale bar? Thanks much, cob
Yes I know the name - I can set the map frame and do all sorts of things to the elements, but can't figure out how to select one. I also don't see how to add items to the Legend_Element but I think this is another bug issue. Thanks, cob
Charles, you will need to sniff around in the arcpy section for other examples of **element things.
For example
MapsurroundElement—ArcPy | ArcGIS Desktop
but it requires you know the element name
Thanks Dan, but it is actually never selected in that example, just repositioned. I can set the map frame as well, but there must be a programmatic way to select the element, so that when I open the properties page with a task step it pertains to the selected element?
they give an example of moving a scalebar in this tutorial
Create a map book with Python—ArcGIS Pro | ArcGIS Desktop
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.