Skip to content

SwatchGroups

swatchGroups

A collection of SwatchGroup objects.


swatchGroups.length

The number of objects in the collection.

Number; read-only.


swatchGroups.parent

The object’s container.

Object; read-only.


swatchGroups.typename

The class name of the object.

String; read-only.


swatchGroups.add()

Creates a swatch group.

SwatchGroup


swatchGroups.getByName(name)

Get the first element in the collection with the provided name.

ParameterTypeDescription
nameStringName of element to get

SwatchGroup


swatchGroups.removeAll()

Deletes all elements in the collection.

Nothing.