Files
vectorcraft/docs
dotCooCoo f0a1e6398f Scripts: image removeAll keeps art on a locked artboard; setters check the item first
placedItems.removeAll() and rasterItems.removeAll() checked only whether
each image and its layers and groups were shown and unlocked, then passed
the ids to edit.clear, which deletes named objects without checking
artboard locks. Both now throw "cannot delete objects on a locked
artboard" with the image ids and delete nothing, as pageItems.removeAll()
does.

Assigning matrix read the value before the item, so a stale image or an
add() result without a file threw the matrix error. Assigning file to an
add() result that was placed and then embedded threw "PlacedItem.file is
read-only: use relink". Both now check the item first and throw "Stale
page item" or "PlacedItem.file is required".

A File that a host class member returns now charges its new path string
to the script heap, in the same reservation as the File object.

docs/gaps.md G6 and the M13 row in docs/roadmap.md list the placed and
raster image classes; docs/mcp.md states the removeAll and setter rules.
2026-11-21 21:04:47 -08:00
..
2026-11-20 05:45:14 +07:00
2026-11-19 15:12:20 +07:00