plot_import
Imports DWG/DXF lighting plots, recognizes fixtures, numbers, and legend, and builds a checked fixture table while flagging inconsistencies for review.
Instructions
Import a DWG or DXF lighting plot and recognise fixtures, numbers and the legend.
plot_file must be an absolute path. The original file is never modified. The summary lists every open issue
(kind, view, message and how many fixtures it concerns); tell the user about each of them. Review the fixtures
behind number issues with fixtures_list(only_issues=True) and plot_preview before asking the user to confirm
the fixture table.
A re-import replaces the fixture table of this show folder, including every correction made with
fixtures_update and the confirmation; the old table is kept as fixtures.previous.json in the new import's
work folder, and the summary's previous_table gives its path.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"plot_file": "<plot_file>"
},
"name": "plot_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plot_file | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| views | Yes | ||
| issues | Yes | ||
| by_label | Yes | ||
| confirmed | Yes | ||
| cm_per_unit | Yes | ||
| source_file | Yes | ||
| issue_counts | Yes | ||
| fixture_count | Yes | ||
| previous_table | No |