Select to view content in your preferred language

Python to export all layers in map to given folder

680
1
05-14-2014 07:59 AM
jackwalker
Deactivated User
Hi there ,

i am a relative novice with Python and have only used Arc for a limited amount of time. At the moment i am trying to learn the basics of python as i would like to automate some workflows.I am reading the Paul a Zandbergen Book.


Please bare with me if my question is simple. 

One thing that comes up a lot at my work is relative folder paths. Sharing maps bewteen different people
Generally with have a drive at work that everyone has access to the majority of data will be saved on there. Sometime people will store data on there computer. This sometimes makes it into maps.

So if another person is going to use the map the link will be broken.

i was wondering if its possible to have a python script that will export all files out to a given shared specified folder ? Or maybe there is a funcation all ready within ARC to deal with this.

Thanks a lot
Tags (2)
0 Kudos
1 Reply
JimCousins
MVP Alum
There is a tool Data Management Tools >> Package >> Consolidate Layer that will copy all referenced data sources into a single folder. Consolidate Map will do the same, and include the map document as well.
Best Regards,
Jim
0 Kudos