Take the 2-minute tour ×  I'm new to modelbuilder and python. I
have used modelbuilder to iterate through all rows in a
shapefile (Points), process them, and produce a seperate output
shapefile for each row. The filename is generated using an
inline variable (I think that is the correct terminology). i.e.
all output files have identical filenames except that the value
of the PointID from the original input file is appended to the
filename to enable them to be distinguished. This works fine.
I've also written a python script to take the above output files
from the model one at a time and do additional processing. At
present the input filename is hard coded into the script (i.e. I
have to edit the script to change the input filename each time I
run it). Again this works fine while just processing a single
file. However, I want to integrate the model and the python
script so that I can run the script for each row in the original
feature class automatically.  My question is therefore, how do I
replace the hard c