You are here

getCategoryUsage

getCategoryUsage(aspect, maxCount) returns categories with the most number of objects. The number of categories returned is specified in maxCount.

Parameters

aspect
The classification aspect / category.
maxCount
The maximum number of categories to return.

Returns

Scriptable object containing the top categories.

Example

  .