Home > @i2analyze/notebook-sdk > visual > IBrushSetsManager > activate
visual.IBrushSetsManager.activate() method
Activates a brush set, making it the active brush set and deactivating any other plug-in-owned brush sets.
Signature:
activate(brushSet: IBrushSet): void;
Introduced: version 1.9
Parameters
| Parameter | Type | Description |
|---|---|---|
| brushSet | IBrushSet | The brush set to activate. |
Returns:
void
Exceptions
Error if the brush set does not have a color range set.
Remarks
Only one plug-in-owned brush set can be active at a time. Activating a brush set automatically deactivates the previously active plug-in brush set.