HierarchyCount

HierarchyCount returns the number of hierarchies in the supplied dimension. HierarchyCount is valid in rules only.

The HierarchyCount function cannot be used in TurboIntegrator processes. The presence of this function in a process will prevent the process from compiling.

Syntax

HierarchyCount (DimName);

Argument

Description

DimName

A valid dimension name.

Example

This example returns 3, which is the number of hierarchies in the model dimension.

HierarchyCount ('model');