DriveWorks Pro 15: SppGetVariableCategories [send feedback...]

SppGetVariableCategories

Returns an array of project variable categories.

Syntax

SppGetVariableCategories([Include sub categories])

Where:

Include sub categories True to include categories that are sub categories of a parent, FALSE to omit.

Examples

RuleMeaning
SppGetVariableCategories(True)Will return an array of all variable categories including sub categories.
SppGetVariableCategories(False)Will return an array of all top level variable categories only.

Results

The table will be returned as an array, which will look like the example below:

{"Category Name","Path","Variable Count";"No Category","",5;"Category A","Category A",5;"Category B","Category B",6}

When this is presented in tabular format it looks like this:

Category NamePathVariable Count
No Category5
Category ACategory A5
Category BCategory B6

Table of Contents