Add section
drw_add_sectionCreates a section (разрез) or cross-section view from a cutting line on an associative base view, keeping the base scale. Use it to cut A-A and place the resulting view freely or in projection link.
Instructions
Cutting line A-A on an associative view and the section view (разрез) or cross-section (сечение) built from it, in the base view's scale; one Ctrl+Z. Check the result with view_capture.
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": {
"doc": "<doc>",
"base_view": "<base_view>",
"line": "<line>"
},
"name": "drw_add_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | sheet position of the new view, mm. Give BOTH x and y for free placement; with one or none the view stays in projection link with its base (aligned along the cut direction) | |
| y | No | sheet position of the new view, mm | |
| doc | Yes | Document handle from doc_list/doc_open, e.g. 'doc:12001:0a1b2c3d' | |
| kind | No | section = разрез, cut = сечение | section |
| line | Yes | [x1, y1, x2, y2] cutting line in the base view, model mm from the model origin (e.g. through the axis of a flange on its front view: [-80, 0, 80, 0]) | |
| letter | No | designation letter (ГОСТ 2.305: А, Б, В …) | А |
| base_view | Yes | number of an associative view (from drw_create_views) |