Skip to content

SwatchGroup

swatchGroup

A group of Swatch objects.


swatchGroup.name

The name of the swatch group.

string


swatchGroup.parent

The object that contains the swatch group.

Object; read-only.


swatchGroup.typename

The class name of the referenced object.

String; read-only


swatchGroup.addSpot(spot)

Adds a spot swatch to the swatch group.

ParameterTypeDescription
spotSpotSpot to add

Nothing.


swatchGroup.addSwatch(swatch)

Adds a swatch to the swatch group.

ParameterTypeDescription
swatchSwatchSwatch to add

Nothing.


swatchGroup.getAllSwatches()

Gets a list of all swatches in the swatch group.

List of Swatch


swatchGroup.remove()

Deletes this object.

Nothing.


swatchGroup.removeAll()

Deletes all elements in the collection.

Nothing.