2

I'm trying to export a selection ( "select by location") using Copy features.

The selection is from the "Layer1".

enter image description here

It apparently executes the selection, but the copy feature is made by the original layer and not by the selection.

I am using NEW_SELECTION in "selection type" of the "Select Layer by location" menu.

In the "Copy Features" the input feature is equal to the original file name.

Any suggestions?

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Mar 13, 2016 at 3:12

1 Answer 1

2

"NEW_SELECTION" actually refers to the selection type. Selection types include:

NEW_SELECTION —The resulting selection replaces any existing selection. This is the default.

ADD_TO_SELECTION —The resulting selection is added to an existing selection if one exists. If no selection exists, this is the same as the NEW_SELECTION option.

REMOVE_FROM_SELECTION —The resulting selection is removed from an existing selection. If no selection exists, this option has no effect.

SUBSET_SELECTION —The resulting selection is combined with the existing selection. Only records that are common to both remain selected.

SWITCH_SELECTION —Switches the selection. All records that were selected are removed from the selection; all records that were not selected are added to the selection. The Expression is ignored when this option is specified.

CLEAR_SELECTION —Clears or removes any selection. The Expression is ignored when this option is specified. Source

To get the results of one tool to be used as the input for another, you will need to mark that output as a parameter (right click-->check Model Parameter)

If you need the outputs of your model tool to appear in the Results window, you must make those outputs model parameters. For example, if your tool outputs an HTML file and you want the user to be able to click on that file from the Results window you must make the HTML output file a model parameter.

More on Model Parameters - ArcGIS 10

answered Mar 13, 2016 at 4:00

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.