vw_rotate_objects
Rotates multiple Vectorworks objects in plan view by the same angle around a shared center, preserving their relative positions.
Instructions
Rotate objects in plan view about a point, keeping their positions relative to each other. Every object turns by the same angle about the same centre. All-or-nothing on unknown UUIDs. One revertible step: vw_revert_last turns them back (a plug-in regeneration in between can leave an object off by a fraction of a unit). For a different rotation per object use vw_set_record on its plug-in parameters. Returns {rotated: n, center, angle}.
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": {
"uuids": "<uuids>",
"angle": "<angle>"
},
"name": "vw_rotate_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | Yes | Rotation in degrees, counter-clockwise in plan view (Top/Plan). | |
| uuids | Yes | UUIDs of the objects to rotate; at least one. One unknown UUID rotates nothing. | |
| center | No | [x, y] in document units to rotate about. Omitted: the centre of the objects' combined extents, so a group turns in place. | |
| document | No | Name of the document this call may change, as listed by vw_list_documents. If given and another document is in front, nothing changes and the call fails; use vw_switch_document first. Always pass it for writes. |