Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am building a model and am trying to create a variable (that will be turned into a parameter and then added as a field) that is a drop down list where only specific values can be chosen.

Any help in how to do this. I have:

  1. right clicked the white space in model builder
  2. clicked on create variable
  3. selected string
  4. right clicked on the oval and chose 'list of values'
  5. Entered my list items

This doesn't seem to act as a drop down when running the model. Am I doing something wrong? These are text values I'd like in the drop down.

share|improve this question
1  
It could be worth taking a look at this ArcGIS Discussion Forum thread on creating Variable Pick Lists with ModelBuilder. –  PolyGeo Feb 14 '13 at 21:50
add comment

1 Answer 1

up vote 4 down vote accepted

Often a particular tool that will be accepting this variable may have the option of a value list filter for the parameter.

share|improve this answer
    
Thanks. I found this doc shortly after I posted the question. Works exactly how I need it. –  Craig Feb 15 '13 at 19:24
1  
Just in case you find generating a choice list from a field relevant: blogs.esri.com/esri/arcgis/2011/08/25/… –  Alex Tereshenkov Mar 26 '13 at 7:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.