2

Is there a feature of ModelBuilder that allows a user to select a feature class based on a list of all feature classes in a geodatabase, ie upon opening the tool, the user will select the geodatabase and then will see a list of all feature classes available to run the tool on.

Iterate doesn't seem to work, because I can't find a way to input the results into the a list in the parameters. Multivalue doesn't work either if I have to manually populate the list.

  • 1
    Have you tried the Select Data tool? It allows you to select a geodatabase and have a drop down of the feature classes found within. – Baltok Sep 20 '16 at 20:21
3

As suggested by Baltok in the comments, you can use the select data tool.

Add this to the beginning of your model.

enter image description here

To make the child data element a parameter, right click on 'Select Data' and say make variable from parameter and select child data element. Then make the child data element a model parameter.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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