Hi Ronald,
This can be done with a combination of tools in Model Builder. A basic example would be using an iterator to iterate through the different grid features (grouped by a value from the attribute table) and uses that feature to select form a different layer those features that intersect it. That selection can then be seen in the map, added to the table of contents as a feature layer, or exported to a new feature class in a geodatabase. I have included two images for two different models below as examples; one that adds a feature layer (a layer existing in memory and in the map document only) and the second that exports the selection to a new feature class in a geodatabase. Both examples take advantage of the inline variable substitution to name the output and help identify which layer intersected which grid feature. Inline variables are called with %Variable Name% so in this case an output layer name might look like “SelectedFeatures%Value%.
This is just one example of how this can be done. A combination of Select By Attribute and Select By Location can accomplish similar outcomes as well. If you wanted to select one grid feature that you knew the id attribute value for you could use Select By Attribute tool to run the SQL expression on and pass that output selection to the Select Layer By Location tool as the selecting features. Additionally, you could substitute the Make Feature Layer tool for the Select By Attribute tool because it also has a SQL Expression parameter to identify specific grid feature(s).
In the end, workflows such as this can be achieved with Model Builder it will just depend on the data you are working with and what type of output you want to produce. The selection methods can all be adjusted throughout the model and multiple selection tools can be added to build on a current selection or subtract form a selection just as they can be done manually in ArcMap. A few of the key tools to look at when building these tools will be as follows:
- Iterate Feature Selection: http://desktop.arcgis.com/en/desktop/latest/tools/modelbuilder-toolbox/iterate-feature-selection.htm
- A quick tour of using inline variable substitution: http://desktop.arcgis.com/en/desktop/latest/analyze/modelbuilder/a-quick-tour-of-using-inline-variab...
- Make Feature Layer: http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/make-feature-layer.htm
- Select Layer By Attribute: http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/select-layer-by-attribute....
- Select Layer By Location: http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/select-layer-by-location.h...