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 want to find out if the manually selected features in ArcMap can be the input to a ModelBuilder tool. If not, is it possible to copy or export selected features in ArcMap using ModelBuilder? Once in ModelBuilder, the data will be manipulated and exported to a dwg file but I first need to figure out how to get the selected features in ArcMap as the input to ModelBuilder.

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

Yes, as long as the input is a Feature Layer or Table View, selections will be honored by most geoprocessing tools including those within models.

share|improve this answer
    
Thanks for the response. So lets say I want to export the selected features in ArcMap to a feature class using ModelBuilder. I have the Feature Class to Feature Class tool in ModelBuilder. I need to add the make feature layer tool as well? What is the input for it? –  Steve Feb 5 at 20:40
1  
You don't need to use Make Feature Layer (that would be more for being able to refer back to the same set of selected features over and over while you manipulate the selection with other tools), just set the input to the Feature Class to Feature Class tool to a feature layer in your MXD. You can also create a variable of type Feature Layer, expose it as a model parameter and input that to the FC2FC tool. Copy Features would also work, I believe. –  blah238 Feb 5 at 21:01
    
Thanks again, got it to work. –  Steve Feb 6 at 18:01
add comment

You can use a feature layer as an input to a model builder tool, just like you can do this with other ArcGIS tools. Layers memorize the selections and the definition queries.

Once you have built your model, right click on your input and set it as a model parameter. Save your model then open it (not Edit, Open). You will have a combobox where you can enter your layer. It will run for the selected feature.

share|improve this answer
    
Thank you, I've got it to work based on yours and blah238's suggestions. –  Steve Feb 6 at 18:01
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.