duplicate_objects
Copies board objects into multiple offset copies, preserving connectors between copied items and creating new groups for copied groups.
Instructions
Copies objects, each copy shifted by (dx, dy) from the previous one (default 40, 40; count copies, default 1, 50 at most). Connectors between copied objects are copied and linked to the copies; a connector linked to an object that is not copied becomes free in the copy. Groups are copied as new groups. Returns sources (copied ids in page order) and ids (new ids: copy 1 in the order of sources, then copy 2...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | No | Default 40. | |
| dy | No | Default 40. | |
| ids | Yes | Ids of the objects to copy (1 to 2000; ids come from describe_board, find_objects or the add_* tools). Groups are not expanded: list every member. | |
| page | No | Page: number (from 1) or name. Defaults to the first. | |
| path | No | Path of the board file (.inkboard; .inkboard.json and .tableau.json also accepted). Optional when the application is open: the tool then acts live on the displayed board (undoable with Ctrl+Z). | |
| count | No | Default 1. |