I'm trying to create a model wherein one of the parameters is a compound variable, that is made of multiple variables joined together. How can this be done?
For example: create an insider buffer using
Buffer(analysis) and name the output feature class from the distance parameter.
BufferDistance = 1000 InputFC = d:\test.gdb\boundaries
Buffer tool parameters:
Input Features = %InputFC% Output Feature Class = %InputFC%_%BufferDistance% Distance = -%BufferDistance% Meters
A negative buffer distance is needed to create an inside buffer, but that means the
%BufferDistance% variable can't be used in the output FC name. Thus the need for a compound variable.