add_detail_view
Add an enlarged detail view to an active SOLIDWORKS drawing by placing a circle on an existing view and setting its own scale.
Instructions
Add a detail view to the active drawing: a circle on an existing view, shown enlarged at its own scale. The circle's centre (x, y) and radius are in view coordinates (mm on the model; see list_drawing_views). scale is the detail's own scale, e.g. '2:1' or '5:1' (default: twice the scale of the source view). Without x_sheet / y_sheet it goes beside the view, or to the nearest free place on the sheet. Returns the new view's name, label and scale.
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": {
"view": "<view>",
"x": "<x>",
"y": "<y>",
"radius": "<radius>"
},
"name": "add_detail_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Circle centre x (view coordinates, in unit, mm by default) | |
| y | Yes | Circle centre y (view coordinates, in unit, mm by default) | |
| unit | No | Unit of the length inputs: mm (the default, whatever set_units says), cm, m, inch or ft. Results are in mm | |
| view | Yes | Name of the view to take the detail from | |
| label | No | Detail letter (default: next free letter) | |
| scale | No | Scale of the detail view, e.g. '2:1' (default: twice the view's scale) | |
| radius | Yes | Circle radius on the model (in unit, mm by default) | |
| x_sheet | No | Centre of the new view on the sheet, from the left edge (in unit, mm by default) | |
| y_sheet | No | Centre of the new view on the sheet, from the bottom edge (in unit, mm by default) |