vw_duplicate_objects
Copies Vectorworks objects to a specified dx/dy/dz offset while preserving class, layer, rotation, and plug-in parameters; returns UUIDs for repeatable, revertible duplicates.
Instructions
Copy objects to an offset, keeping class, layer, rotation and plug-in parameters.
Each copy is a full duplicate (Vectorworks' own duplicate), placed dx, dy,
dz away from its original. All-or-nothing. One revertible step:
vw_revert_last deletes the copies. To repeat a copy in a row, call again
with the returned UUIDs. Returns {created: [uuid, ...]} in the order of
uuids.
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>"
},
"name": "vw_duplicate_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | No | Offset of the copies along x in document units. | |
| dy | No | Offset of the copies along y in document units. | |
| dz | No | Offset of the copies along z in document units, for 3D objects. | |
| uuids | Yes | UUIDs of the objects to copy; at least one. One unknown UUID copies nothing. | |
| 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. |