vw_delete_class
Delete a Vectorworks class only when unused, or force removal and move its objects to None. Built-in classes cannot be deleted.
Instructions
Delete a class, by default only when no object uses it. Built-in classes (None, Dimension) cannot be deleted. This call is a revert barrier: vw_revert_last cannot recreate the class or put objects back into it. Returns {name, objects_moved_to_none}.
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>"
},
"name": "vw_delete_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Class name, as vw_list_classes shows it. | |
| force | No | True deletes the class even while objects use it (they move to class None). Default False refuses then. | |
| 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. |