ElementComponentCount

ElementComponentCount returns the number of components in a specified element. If the element argument is not a consolidated element, the function returns 0.

This function is valid in both rules and TurboIntegrator processes.

Syntax

ElementComponentCount(dimension, hierarchy, element)

Argument

Description

dimension

A valid dimension name.

hierarchy

The name of the hierarchy within the dimension.

element

The name of a consolidated element within the dimension.

Example

In the Region dimension, the element Scandinavia is a consolidation of three elements. The example returns 3.

ElementComponentCount('Region', '', 'Scandinavia')