Skip to content

Symbol

app.activeDocument.symbols[index]

An art item that is stored in the Symbols palette, and can be reused one or more times in the document without duplicating the art data. Symbols are contained in documents.

Instances of Symbol in a document are associated with SymbolItem objects, which store the art object properties.


app.activeDocument.symbols[index].name

The symbol’s name

String.


app.activeDocument.symbols[index].parent

The object that contains the symbol object.

Object; read-only.


app.activeDocument.symbols[index].typename

The class name of the object.

String; read-only.


app.activeDocument.symbols[index].duplicate()

Creates a duplicate of this object.

Symbol


app.activeDocument.symbols[index].remove()

Deletes this object.

Nothing.