CategorySets Collection

The CategorySets collection contains all the CategorySet objects used by a CalculationDefinition object to calculate values.

Discussion

Use this collection to add, select or remove a CategorySet object. Each CategorySet object, in turn, contains a Categories collection.

To return this collection, use the CategorySets property.

These tables list related methods and properties.

Method

Description

Add Method (Objects)

Adds a CategorySet object to the collection.

Item Method

Selects a specific CategorySet object in the collection.

Remove Method

Removes a specific CategorySet object from the collection.

Property

Description

Application Property

Returns the Transformer Application object.

Count Property

Returns the number of CategorySet objects in the collection.

Parent Property

Returns the parent object.

Examples

catSet = calcDef.CategorySets.Add()