Activate Document
document_activateSwitches the active AutoCAD drawing by name or full path, reporting the previous document; ambiguous or unknown names return candidates or open documents.
Instructions
Make one open document the active one; reports previous.
Matches the full path first, then the file name; an ambiguous name is
refused with the candidates, an unknown one with the list of open
documents. Headless, a document quarantined after an abandoned call cannot
be switched away from — drawing_new, drawing_open or closing it are
the ways out. Pack: settings · lean: no.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_or_path | Yes | A name from document_list (`gear.dxf`, `untitled-2`) or the full path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||