mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 13:32:45 -05:00
Object › Plug-ins › Arrange Tools › Add Artboard Guides… adds a
rectangular guide around the active artboard, or around every artboard,
at a typed offset: more than 0 puts it outside the artboard, less than 0
inside it. The dialog has Offset, Artboards (Active Artboard or All
Artboards) and Preview, and OK applies as one undo step.
- addon.arrange.artboardGuides {offset?, artboards?, artboard?, all?}
puts the guide paths on the topmost top-level layer named Artboard
Guides, made above the others when there is none. That layer keeps its
lock and visibility. A guide anywhere in that layer with the same
rectangle is not added again, and a run that adds none makes no undo
step.
- An inset that leaves an artboard no width or height, an edge past the
canvas, and bad params are refused with an error. The command is off
without artboards.
- The command is in ON_ACTIVE_ARTBOARD, so the app passes the active
artboard as `artboard`, and command.batch and action playback pass it
to a step that names none; when it is left out, the journal records
the artboard used, so a replay acts on the same one. The dialog sends
the artboard the view showed when it opened.
- Plug-ins may call it (plugin_call/reviewed.rs).
Docs: docs/mcp.md › Arrange Tools add-on and app.doScript,
docs/target-app-parity.md, docs/ui-parity.md; command.batch params text.