In ArcGIS I need to being able to have a couple of MXD documents open and copy-paste groups of layers from one MXD's table of contents to another with python script.
Is this possible and, if so, how?
arcpygroup-layertable of contents
In ArcGIS I need to being able to have a couple of MXD documents open and copy-paste groups of layers from one MXD's table of contents to another with python script.
Is this possible and, if so, how?
Best Answer
This code snippet will copy all the group layers from a template mxd and put them in the currently opened MXD in ArcMap, then save the mxd