AnsweredAssumed Answered

Is it possible to copy any type of element from mxd at specific destination to current mxd ?

Question asked by Celil on Aug 22, 2016
Latest reply on Aug 24, 2016 by Celil

Is it possible to make script or add-in as below or is there any other way to get element to current one ? Thanks.

 

# to reach element @ specific mxd 

import arcpy
mxd = arcpy.mapping.MapDocument(r"D:\Reference\Reference.mxd")

element = arcpy.mapping.ListLayoutElements(mxd,"TEXT_ELEMENT","Title")

 

# clone @ current

newElement = element.clone("2")

newElement.text= "Test !"

Outcomes