New answers tagged iterator
Thanks. And after hours of more online reading, I found the answer. The destination point was outside of the spatial extent of the origin points. Once I adjusted that, it all ran fine. Here's a link to the post that contained the solution I used: https://geonet.esri.com/thread/77736#post315923
It would be the same as iterating through the layers. mxd = arcpy.mapping.MapDocument("CURRENT") # Uses your currently open MXD for df in arcpy.mapping.ListDataFrames(mxd, ''): # Loop through dataframes for lyr in arcpy.mapping.ListLayers(mxd, '', df): # Loop through layers # Any tools you want to run on each layer go here
I've solved the problem. The Get Value string variable refers to attributes which begin with '0'. I put some text before these attributes and edited the input file names and the model works perfectly now.
Top 50 recent answers are included