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

2450
10
Jump to solution
08-22-2016 04:15 AM
Yusuf_CelilKonak
New Contributor III

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 !"

Tags (3)
0 Kudos
10 Replies
Yusuf_CelilKonak
New Contributor III

Thanks for the clarification so that was the reason.

0 Kudos