Create Section View
create_section_viewCut a section view along a line across an active SolidWorks drawing view and place it on the sheet, rejecting lines that miss the view or positions off the sheet.
Instructions
Cut a section view along a line across a drawing view, and place it on the sheet.
Give the line's ends in sheet mm so it crosses the view (e.g. through a hole's
centre), and where the new view goes. A line that misses the view, or a position
off the sheet, is refused before anything changes. Needs: an open, active drawing
with that view. Changes: adds a section view and its section line. Returns:
view with name, label, parent and outline_mm.
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": "create_section_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The section. `view`, `line_start`, `line_end` and `position` are required; `label` defaults to the next free letter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||