1

This question already has an answer here:

I have built a basic model to run some calculations on a number of feature classes in Model Builder. These tools include Merge, Delete Identical, Make Table, Select Layer Attribute, Delete Rows and a Make XY event layer. Currently the model has a number of feature classes added directly to the model.

At the beginning, I would like the user to be able to choose which feature classes they add for processing. It should look like the options you get when using the Merge Tool in ArcMap where the user can browse to the files to be processed. The files could be anywhere on the PC and not necessarily in the same workspace.

Is this possible?

marked as duplicate by Hornbydd arcgis-desktop Jun 12 '18 at 11:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

Set input as model paramater. When you execute the model you can specify input:

enter image description here

See: "Creating model paramaters"

If you want many inputs to a single tool, for example merge many inputs you can:

  • Right click the blue input and select "A list of values"
  • Or right click the model background - Create variable - Select Feature Class and check "Multivalue" checkbox.
  • Thank you :-) Yes, this makes sense, but is there a way to add 2, 3, 4,... files in a GUI like this? – user2224979 Jun 12 '18 at 11:37
  • 1
    Yes, look at the link – BERA Jun 12 '18 at 11:37
  • OK, i have looked at the link to "Creating model parameters" and the 'duplicate' post (my apologies for any duplication).Still, it does not give the required GUI. With 'Input datasets' blank and set as a parameter for a Merge tool I still only get the one drop down list as BERA showed above. – user2224979 Jun 12 '18 at 12:55
  • 1
    @user2224979 you want many inputs to a single tool? Right click blue input and select "A list of values". Or right click the model background - Create variable - Select Feature Class and check "Multivalue" checkbox. – BERA Jun 12 '18 at 13:00
  • 1
    Perfect! Exactly what I needed. Thank you so much. – user2224979 Jun 12 '18 at 13:13

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