3.3.2.15.4 Options to Count Objects


-cl

Syntax: doc -cl

Count layers in the active graph window. Assign the result to the variable count.

-cp

Syntax: doc -cp name

Count all graph windows in the current project that match exactly or begin with name. Assign the result to the variable count.

-cs

Syntax: doc -cs name

Count all datasets in the current project that match exactly or begin with name. Assign the result to the variable count. A matrix is also counted as a dataset. Only Window Short Names of Workbooks and Matrices are searched.

-cw

Syntax: doc -cw name

Count all workbooks in the current project that match exactly or begin with name. Assign the result to the variable count.