feat(pagesetup): SECTION 19 — page_setup_list/apply, plot_style_list, batch_plot with /MediaBox read-back

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FKFStjEFzpGyLq5bMpWxTd
This commit is contained in:
Umut CAN
2026-09-21 18:39:34 +03:00
co-authored by Claude Opus 5
parent 54bbf72312
commit f25421709f
8 changed files with 639 additions and 11 deletions
+61 -2
View File
@@ -3,7 +3,7 @@
"schema_version": 1,
"package_version": "1.5.1",
"totals": {
"tools": 166,
"tools": 170,
"resources": 8,
"prompts": 5,
"groups": 20
@@ -20,7 +20,7 @@
"entity_modification": 16,
"entity_query": 9,
"layers": 14,
"layouts": 12,
"layouts": 16,
"pid": 9,
"premium": 12,
"solids": 5,
@@ -175,6 +175,21 @@
"readOnlyHint": true
}
},
{
"name": "batch_plot",
"group": "layouts",
"cost": "mutate",
"summary": "Plot every sheet (or the named ones) to PDF; each sheet size is read back from its PDF.",
"tags": [
"export",
"layout",
"plot"
],
"annotations": {
"title": "Batch Plot",
"destructiveHint": false
}
},
{
"name": "block_create_from_entities",
"group": "blocks",
@@ -1717,6 +1732,35 @@
"readOnlyHint": false
}
},
{
"name": "page_setup_apply",
"group": "layouts",
"cost": "safe",
"summary": "Set a sheet's paper, orientation, ctb, plot scale and device (PAGESETUP).",
"tags": [
"layout",
"plot"
],
"annotations": {
"title": "Apply Page Setup",
"destructiveHint": false
}
},
{
"name": "page_setup_list",
"group": "layouts",
"cost": "read",
"summary": "Read each sheet's page setup: paper, orientation, ctb, scale, device.",
"tags": [
"layout",
"plot",
"query"
],
"annotations": {
"title": "List Page Setups",
"readOnlyHint": true
}
},
{
"name": "pid_equipment_list",
"group": "pid",
@@ -1844,6 +1888,21 @@
"readOnlyHint": true
}
},
{
"name": "plot_style_list",
"group": "layouts",
"cost": "read",
"summary": "List the plot style tables (ctb): the AutoCAD catalogue, plus what is installed.",
"tags": [
"layout",
"plot",
"query"
],
"annotations": {
"title": "List Plot Styles",
"readOnlyHint": true
}
},
{
"name": "point_from_snap",
"group": "premium",