Creating Feature Set and Record Set variables

Any model that uses a feature class or feature layer as input can be modified to accept a feature set. Any model that uses a table as input can be modified to accept a record set. Feature set or record set variables can be created as new variables, or existing variables can be changed to feature or record sets.

Creating a new feature or record set variable

Steps:
  1. Right-click anywhere in a model and choose Create Variable.
  2. Scroll down the list and choose Feature Set or Record Set as the variable data type.
  3. Click OK.

    A new empty Feature Set or Record Set variable is created in the model.

  4. Use the Connect tool Add Connection to connect the variable to a tool.

Modifying an existing variable

Steps:
  1. Select and right-click an existing data variable and click Properties.
  2. In the variable Properties window, click the Data Type tab.
  3. Under the Select data type drop-down list, choose Feature Set or Record Set.
  4. Click OK.

    The data type of the existing variable is changed to Feature Set or Record Set.

Related Topics

3/3/2014