bricscad_plot_pdf
Plot a BricsCAD layout or Model space to a PDF without altering the drawing; specify paper, orientation, area, scale, and plot style as needed.
Instructions
Plot one layout of the current drawing to a PDF file, with Print As PDF.pc3. The drawing is not changed.
path: a .pdf file in an existing folder. layout: "Model" or a sheet name. Defaults to the current layout. paper: BricsCAD's paper name, such as "ISO A3 (297.00 x 420.00 MM)". Defaults to the layout's current size. landscape: true or false. Defaults to the layout's current orientation. area: "extents", "layout" (sheets only) or "window". Defaults to extents for the model and layout for sheets. window: [x1, y1, x2, y2] in drawing units, with area="window". scale: "fit", or plotted millimetres to drawing units such as "1:100". Defaults to fit for the model and 1:1 for sheets. style_table: a plot style table such as "monochrome.ctb". Defaults to the layout's own. overwrite: true allows replacing an existing file. It is replaced only once the new one is complete.
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": {
"path": "<path>"
},
"name": "bricscad_plot_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | ||
| path | Yes | ||
| paper | No | ||
| scale | No | ||
| layout | No | ||
| window | No | ||
| timeout | No | ||
| landscape | No | ||
| overwrite | No | ||
| style_table | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||