vw_find_objects
Find objects in the active Vectorworks document by class, layer, type, plug-in, record, or name. Read-only exact filters return matching object data for inspection.
Instructions
Find objects in the active document by class, layer, type, plug-in, record or name.
Read-only; every given criterion must match (all are exact, not substrings). Returns [{uuid, type, name, class, layer, bbox, records, symbol or plugin name}], the same shape as vw_get_selection. For Lighting Devices with their fields use vw_list_lighting_devices instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vw_find_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Exact object name (as set in the Object Info palette). | |
| field | No | With record: field name whose value must equal `value`. | |
| layer | No | Exact layer name. Default: every layer. | |
| limit | No | Maximum number of objects to return. Default 500. | |
| value | No | With record and field: the value to match, compared as text. | |
| plugin | No | Plug-in object name, such as "Lighting Device", "TrussItem" or "Stage Deck"; implies plug-in objects only. | |
| record | No | Name of a record format that must be attached to the object (a plug-in object's parameters count as a record of its plug-in name). | |
| class_name | No | Exact class name the objects must be in. | |
| object_type | No | Vectorworks object type name, such as "Symbol", "Rectangle", "Polygon", "Plug-in Object", "Group". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |