document_new
Creates a new parametric or direct Fusion design document and makes it active; it remains unsaved until you explicitly save it.
Instructions
Create a new design document and make it active. It is NOT saved; call document_save only when the user asks to save.
units only sets how Fusion displays lengths; numbers passed to tools stay in mm.
Returns the new document's info (see document_list).
Example: document_new() -> parametric design in mm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Distance display units of the design | mm |
| design_type | No | parametric (with timeline, default) or direct (no history) | parametric |