Animate 2020.
document.getTaggedSwatches([palette:int ])
palette:It is an integer that specifies the index of the tagged swatch palette,it is optional.Default value is 0.
Array of tagged swatches.
Method;It returns array of tagged swatch objects.
swatch object has two property,
— fill object
— name
The following example returns the array of tagged swatches.
var document = fl.getDocumentDOM();
var swatchArr = document.getTaggedSwatches();document.getTaggedSwatchByName() document.getTaggedSwatchesPaletteList()