1
vote
Using Field Calculator to put file name into field
Try the Parse Path model builder tool.
You can also use arcpy.describe. The Describe Object Properties returns the path which you can field calculate into your attribute table.
1
vote
Show inline substitution value as tool parameter
I'm pretty sure what you want is not achievable. The inline variable is evaluated when the tool is executed, not when it has been opened up as a tool ready to take an input, as in your case the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
modelbuilder × 2125arcgis-desktop × 1649
arcmap × 303
arcpy × 300
iterator × 245
arcgis-10.1 × 179
arcgis-10.2 × 167
arcgis-10.0 × 136
arcgis-pro × 128
field-calculator × 112
python × 111
raster × 109
arcgis-10.3 × 92
iteration × 69
raster-calculator × 60
geoprocessing × 55
parameters × 51
spatial-analyst × 49
network-analyst × 47
select-by-attribute × 43
python-parser × 42
attribute-joins × 41
merge × 39
shapefile × 37
python-script-tool × 35