mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 12:35:48 -05:00
- layers.add() and activeLayer = layer keep the layer the script made current after the call, instead of putting the earlier current layer back with the selection. - A layer's or artboard's name takes a number or a boolean as String() writes it. Two artboards may now have the same name. - A layer's or group's pageItems, groupItems and compoundPathItems, and a compound path's pathItems, list the topmost object first. - compoundPathItems.add() makes an empty compound path (https://ai-scripting.docsforadobe.dev/jsobjref/CompoundPathItems/). object.newGroup takes compound: true for it, and node.move and PageItem.move put paths into it; the first path gives an empty compound path its paint. Other objects are refused.