# Synopsis

(macro) int step_GetEntitySubtypeCount(DDF_TF tf)

# Purpose

Get count of direct subtypes for a specified entity typeform.

# Description

The number of direct subtypes for entity TF tf in the current STEP ddf is returned. Use step_GetEntitySubtypes to obtain the list of TFs. If no subtypes exist, a value of 0 will be returned.

# Input

## tf

Entity TF whose subtypes are to be found

# Return

Number of direct subtypes