The definition query would run a selection by location in one map , a clip process in another and a second select by location function in a third.
Is it possible to run a pyhton script on an unopened mxd? I was thinking of a havinga "Master" map that users could digitize polygons in and then run a tool that applied their new polygon (as a definition query) to three other mxds. I have scripts that run individually (1 per map) and was hoping to combine them into a single tool. Am I way off base? Is it simply a matter of referencing the three mxds? Thanks.
import arcpy mxd = arcpy.mapping.MapDocument(r'C:\Users\user\path\to\mxd.mxd') for lyr in arcpy.mapping.ListLayers(mxd): print lyr.name
a tool that applied their new polygon (as a definition query) to three other mxds.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.