Is there any way to make one of my parameters in my model as menu for choose ???
Solved! Go to Solution.
Abdullah, this can be easily done with string parameters by going into Model Properties, Parameters tab and setting a value list. You can enter the text strings you want to the user to be able to pick. This is very similar to how your work with keywords with script tools if you move on to Python.
A quick tour of filtering parameter values—Help | ArcGIS for Desktop
what do you have so far that you need a choice?
something like domain in geodatabase
There is all kinds of domain access already for a variety of things. They are peppered all over the place and it depends on which platform (ArcMap or ArcGIS PRO) that you want to work with since they are both available to you if using recent versions.
He is one sample from Pro
If you can articulate what you want to do and what you have ruled out, or show your model, it will help others narrow it down. Or perhaps you have decided already and are looking for other options.
An overview of the Domains toolset—Data Management toolbox | ArcGIS for Desktop
Domains offer a way to define a range of values that can be used for multiple attribute fields. Using domains helps ensure data integrity by limiting the choice of values for a particular field. Validation for coded value domains is accomplished by restricting field values found in drop-down lists. Range domains are automatically validated during editing.
I mean the second domain (define a range of values that can be used for multiple attribute fields).
how can I make the user of my model choose of range of values as model parameter.
yes...but what tool are you using? if they are defined, they will be available.
Sounds like you don't have anything that meets the requirements to use the domains toolset.
When you do, and have a skeleton of you model that needs the access, get back to us.
I haven't created model yet. just I think to make it .
I want to make a form using model builder , and use data to calculate inside fields, so I can use this a new table as variable in my model to operate many of processes.
but some value must to be not change, specially when you put select by attribute expression . so I want to make all values in domain , to avoid wrong expression in my model.
good then! just go through the tools that I sent you in the list and it will show you what you can do. It would be real easy if you moved through the process manually so you can get a feel for what the dialogs look like given you haven't done it before or know what is required. You should have not problems.
not that what I want, I know domain well .
I want the user who will use my model ,input coded values ( list of values ) to prevent a new value, because every value has select by attribute and special expression inside model .
so any new value outside domain will not allow.
the problem here that, How can I make the user know the coded value within using model, or How Can I appear list of coded value for user to choose within using model interface.
like ListDomains in the arcpy.da module ... the nice thing is all the properties are read only so there is no chance of corrupting the existing structure... but if you are stuck on using modelbuilder, then you will have to roll out a script to incorporate in the model prior to moving on.
Edit
I assume that you ruled out the recommendations on other threads, like Xander's reference in this thread?