for lyr in layerlist: # if the long layer name does not equal the short layer name if lyr.longName != lyr.name: #Find Layer with name == "flow" if lyr.name.lower() == "flow": #Pan to Extent of Flow Layer df.extent = lyr.getExtent() print extent print lyr.name.lower()
"https:\/\/us.v-cdn.net\u2026" is not a valid URL.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.