000346: Input must have a selection.
Description
The input layer used does not have a selection.
Solution
Use the Select Layer By Attribute or Select Layer By Location tool to define which features in the input feature layer will be used in the tool.