Part properties
part_set_propertiesSet a KOMPAS-3D part's designation and name so the title block and BOM update associatively. Each call is backed up, verified, and undone with a single Ctrl+Z.
Instructions
Set the part's designation (обозначение, ГОСТ Р 2.201) and name (наименование) in the MODEL, so the title block and the BOM follow them associatively. Never invent a designation: take it from the user. Returns a receipt: created object handles, volume/mass before and after, backup path. The whole call is ONE Ctrl+Z for the user; if verification fails the model is restored and VERIFY_FAILED is returned.
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": "part_set_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Document handle from doc_list/doc_open, e.g. 'doc:12001:0a1b2c3d' | |
| name | No | наименование, e.g. 'Фланец' | |
| marking | No | обозначение, e.g. 'АБВГ.711141.001' | |
| material_id | No | material from select(kind='material') — taken earlier from KOMPAS's handbook via material_pick; free text is never accepted. Not undoable by Ctrl+Z: the receipt has restore_material_id | |
| spec_section | No | specification section of a PART file: standard = «Стандартные изделия» (a ready fastener file; its full name with the standard goes into `name`, designation empty). Not undoable by Ctrl+Z |