vw_insert_symbol
Inserts one instance of an existing document symbol at a specified point, with optional layer, class, rotation, and height for placing symbols in a Vectorworks drawing.
Instructions
Place one instance of a symbol from the document's resources at a point.
Changes the document; one revertible step (vw_revert_last deletes the instance). For lighting fixtures use vw_insert_lighting_devices, which also converts them to Lighting Devices; for truss use vw_insert_truss_run. Returns {uuid, name, layer, class, x, y, z}.
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": {
"name": "<name>",
"x": "<x>",
"y": "<y>"
},
"name": "vw_insert_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Insertion point x in document units. | |
| y | Yes | Insertion point y in document units. | |
| z | No | Height (z) in document units for a 3D or hybrid symbol. Default: 0, the layer's plane. | |
| name | Yes | Symbol definition name as vw_list_symbols shows it; it must be in the document's resources already (import with vw_import_resource). | |
| layer | No | Design layer to place it on. Default: the active layer. | |
| document | No | Name of the document this must run in, as vw_list_documents shows it (".vwx" may be left out) or its full path. If another document is active, nothing changes. Omit to act on whatever document is active. | |
| rotation | No | Rotation in degrees, counter-clockwise. Default 0. | |
| class_name | No | Class to put the instance in. Default: the active class. |