Select to view content in your preferred language

Using variable into my geoprocessing model

493
1
08-03-2010 05:59 AM
BogdanGrega
New Contributor
Hello all,

I  created a model for geoprocessing witch uses 3 strings as model parameters. The model works with pre-introduced values.

I would like the geoprocessing uses 3 variables in my Visual Studio project but i don't find where in the Geoprocessing Task.
All my project is functional but he takes the default value and not the variable.


I work with Visual Studio Web Developper 2008 and ArcGIS server and desktop 9.3.1.

Thanks for your help.

Bogdan GREGA
0 Kudos
1 Reply
BBicking1
Esri Contributor
Hello all,

I  created a model for geoprocessing witch uses 3 strings as model parameters. The model works with pre-introduced values.

I would like the geoprocessing uses 3 variables in my Visual Studio project but i don't find where in the Geoprocessing Task.
All my project is functional but he takes the default value and not the variable.


I work with Visual Studio Web Developper 2008 and ArcGIS server and desktop 9.3.1.

Thanks for your help.

Bogdan GREGA



Hi Bogdan,

to use a variable you have exposed in MBldr bookend the variable name with % signs like so:
%VariableName% and make this part of a string, such as an output name, in MBldr.
What you need to do in Visual Studio I do not know.

Barbara Bicking
0 Kudos