Fill title block
drw_set_stampFills empty KOMPAS title-block cells that lack model sources and reads values back; for associative fields, set them via model tools then refresh views.
Instructions
Fill title-block (основная надпись) cells that have no source in the model. In a drawing with associative views, name/designation/material/mass come from the model and are refused — set them with part_set_properties / material_pick and call this with refresh=true. Values are read back.
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>",
"cells": "<cells>"
},
"name": "drw_set_stamp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Document handle from doc_list/doc_open, e.g. 'doc:12001:0a1b2c3d' | |
| cells | Yes | {cell: text}. cell = KOMPAS cell number ('110') or alias: name, designation, material, mass, scale, sheet, sheets, organization, developer, checker, tech_control, norm_control, approved, *_date. Empty {} only reads the current values. | |
| sheet | No | sheet index | |
| refresh | No | rebuild views so associative cells update |