In ModelBuilder I require the user select 1 of 5 feature class layers as the initial feature class to run the rest of the model on. The selected layer is to be then fed into a clipping tool as the Input Feature
How do I create a drop-down list of layers in the tool selected from ones I have set the file path for?
I want to have 5 feature class layers selectable as the input for the clipping tool.
ArcMap 10.2
-
Are all your input layers held in the same workspace?Hornbydd– Hornbydd2018年12月16日 01:46:07 +00:00Commented Dec 16, 2018 at 1:46
-
the layers are held in a Feature Dataset within a Geodatabase connection.FRMMO– FRMMO2018年12月17日 10:03:14 +00:00Commented Dec 17, 2018 at 10:03
-
Does it need to be a dynamic list, read from a workspace? Or is it the same 5 over and over? If that's the case you can make and hard code a list on inputsKHibma– KHibma2018年12月17日 13:07:27 +00:00Commented Dec 17, 2018 at 13:07
1 Answer 1
I don't believe the type of functionality you are asking for is possible in pure ModelBuilder environment. To create a parameter that offers up lists you would have to build a script tool that feeds into a python script. If you want even more control then a python toolbox script is probably a better solution.
Explore related questions
See similar questions with these tags.