vw_open_document
Opens a Vectorworks .vwx file from disk and waits until it appears in front, converting older files in memory. Brings already-open documents to the front and reports the active document.
Instructions
Open a Vectorworks document from disk and wait until it is the front document.
Uses the same Apple Event as vw_switch_document; nothing runs inside Vectorworks and nothing is saved. A file from an older Vectorworks is converted in memory on open (it stays unsaved until the user saves it). Other open documents stay open. Returns {active, opened, documents, seconds}; fails with what is in front when the window does not appear.
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": {
"path": "<path>"
},
"name": "vw_open_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the .vwx file to open. A file that is already open is just brought to the front. | |
| wait | No | Seconds to wait for the document window to appear in front (large files and files saved by an older Vectorworks take longer: they are converted on open). Default 60. |