Add Drawing View
add_drawing_viewPlace one named part or assembly view on the active drawing sheet; requires an open drawing and the model file on disk. Only operation "add" is supported; prefer create_drawing_view.
Instructions
Deprecated: use create_drawing_view.
Place one named view of a part or assembly on the active drawing sheet; the same as create_drawing_view.
Prefer create_drawing_view; this tool reaches the same code and is kept for
existing callers. It only adds views: an operation other than "add" is
refused. Needs: an open, active drawing and the model file on
disk. Changes: adds a view to the sheet. Returns: data with the view's name,
orientation, position, scale and the view counts.
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": {
"input_data": "<input_data>"
},
"name": "add_drawing_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The view. Give `model_file` and `view_type` (front, back, left, right, top, bottom, isometric (iso), trimetric, dimetric or current); `position` ([x, y] mm on the sheet) and `scale` have defaults. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||