If Feature Type Is (ModelBuilder)

Summary

Evaluates if a feature class is of the specified feature type.

Learn how If Feature Type Is works in ModelBuilder

Usage

  • This tool is intended for use in ModelBuilder and not in Python scripting.

  • The tool has two Boolean outputs, True and False. Based on the condition being evaluated one of the two boolean outputs is true and the other false after the tool runs. These boolean outputs have to be set as a precondition to the downstream tools for those to execute if either of the preconditions is true.

Syntax

FeatureTypeIfThenElse(in_features, feature_type)
ParameterExplanationData Type
in_features

Input feature layer to evaluate.

Feature Layer
feature_type
[feature_type,...]

The type of feature being evaluated.

  • ANNOTATIONEvaluate if the input features are annotation features.
  • DIMENSIONEvaluate if the input features are dimension features
  • EDGEEvaluate if the input features are edge features.
  • JUNCTIONEvaluate if the input features are junction features.
  • LINE Evaluate if the input features are line features.
  • POINTEvaluate if the input features are point features.
  • POLYGONEvaluate if the input features are polygon features.
  • MULTIPATCHEvaluate if the input features are multipatch features.
String

Derived Output

NameExplanationData Type
true

If the specified criteria evaluates to True, this parameter will be set to True.

Boolean
false

If the specified criteria evaluates to False, this parameter will be set to True.

Boolean

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes