document_open
Opens a cloud file or local .f3d document and makes it active; if already open, activates it instead and returns document info with an already_open flag.
Instructions
Open a document and make it active. Pass exactly one of file_id (a cloud file)
or local_path (an existing local .f3d file; other formats such as STEP are not
opened here).
A cloud file that is already open is activated instead of opened again ("already_open": true).
Returns the document's info (see document_list) plus "already_open".
Examples: document_open(file_id="urn:adsk.wipprod:dm.lineage:abc"); document_open(local_path="C:/parts/bracket.f3d").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | No | Cloud data file id (from Fusion) | |
| local_path | No | Absolute path of a local Fusion archive (.f3d) |