# Synopsis

(macro) int step_GetEntitySupertypeCount(DDF_TF tf)

# Purpose

Get count of direct supertypes for a specified entity typeform.

# Description

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

# Input

## tf

Entity TF whose supertypes are to be found

# Return

Number of direct supertypes