Embodiments
embodimentList, create, and activate GOST 2.113 part or assembly variants in KOMPAS-3D, including numbered executions like '01' and selecting the current configuration.
Instructions
Embodiments (исполнения, ГОСТ 2.113) of a part/assembly. action=list: all with marking, number, mass. create: new embodiment with number like '01' (marking = base marking + '-01'); it becomes CURRENT. activate: make embodiment index current. Variables (variables_set) and properties set afterwards apply to the CURRENT embodiment only — create the part variables BEFORE the first embodiment (KOMPAS refuses new variables in a dependent embodiment). Creating is one Ctrl+Z; switching is not undoable (as in KOMPAS).
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>"
},
"name": "embodiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Document handle | |
| index | No | activate: index from action=list | |
| action | No | list | |
| number | No | create: '01', '02'… |