vw_create_sheet
Create a printable presentation sheet with a Top/Plan viewport of chosen design layers, custom scale, hidden classes, and an optional title block.
Instructions
Create a presentation sheet: a sheet layer with one Top/Plan viewport of chosen design layers and an optional title block.
Use it to make a printable plot page; vw_create_layer makes a bare layer
only. The viewport shows layers at 1:scale with hide_classes hidden
in that viewport. With title, sheet_number or project, a Title Block
Border is placed at the sheet origin and those fields written where the
title block style has them. The user's active layer is restored. One
revertible step: vw_revert_last deletes the sheet with its viewport and
title block. Returns {sheet, viewport (uuid), title_block: {uuid, fields_set,
fields_unknown, fields_available}?, title_block_error?}. To look at it, the
user switches to the sheet and you call vw_screenshot, or use
vw_render_layers for a picture.
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": {
"name": "<name>",
"layers": "<layers>"
},
"name": "vw_create_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new sheet layer. Fails if a layer of that name exists. | |
| scale | No | Viewport scale denominator: 48 = 1/4" = 1'-0", 96 = 1/8", 50 or 100 for metric. Must be positive. | |
| title | No | Sheet title written into the title block's 'Sheet Title' field. Any of title, sheet_number or project adds a Title Block Border. | |
| layers | Yes | Design layer names the viewport shows; at least one. | |
| project | No | Project name written into the title block's 'Project Name' field. | |
| document | No | Name of the document this call may change, as listed by vw_list_documents. If given and another document is in front, nothing changes and the call fails; use vw_switch_document first. Always pass it for writes. | |
| hide_classes | No | Class names hidden in this viewport only, for example ['Notes', 'Lighting-Focus Points']. Omitted: all classes visible. | |
| sheet_number | No | Sheet number written into the title block's 'Sheet Number' field. |