New answers tagged


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:


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