reorder_artboards
Set the display order of artboards on a page by providing the complete ordered list of artboard IDs. Read the current order first, then submit the full target sequence.
Instructions
调整一个页面下画板在画布里的显示顺序(新建画板默认追加到末尾,用这个工具调整)。artboardIds 必须是该页面现有画板 id 的完整顺序(一个全排列,不能少画板也不能带别的页面的画板 id)——先用 loadProjectTree/get_project 之类的读操作看一眼现有顺序,再整体给出目标顺序。刷新已打开的画布标签即可看到新顺序
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | 覆盖默认工作目录(项目所在父目录);相对路径按当前工作目录解析;缺省用 PROTOFLOW_HOME 或启动时的 cwd | |
| pageId | Yes | ||
| projectId | Yes | 项目 id(同时也是项目文件夹名) | |
| artboardIds | Yes |