I've developed a model that summarizes road attributes (e.g., volumes) across a digitized polyline. The model has input/parameter dialog boxes for a road feature class, workspace, and attribute summary table.
These parameters are entered every time the model runs. I've provided default values but users want to save their latest parameters. I'm using ArcGIS 10.3 with Windows 7.
Instead of providing the entire model, I've provided a part of it below. The image shows my dilemma. I can store and retrieve model parameters in a table called C_Parameters
.
Though I can provide the NAME of a parameter variable (e.g., %RoadFeatureClass%
) in the input/parameter dialog box in a ArcToolbox tool, I can't display the parameter variable VALUE in the dialog box.
Basically, I wish the Input Features box of the Copy Features tool would be C:\SEWRPC\CORDEN.gdb\Base_out_Link3
instead of RoadFeatureClass
.
I've tried using Python's object methods (e.g., %RoadFeatureClass%.title()
and print(%RoadFeatureClass%)
),which didn’t help.
Do you have any suggestions how to display a variable value in a ModelBuilder input dialog box?