form_get_tsm
Read the T-spline mesh description of a Fusion 360 T-spline body, returning text up to 1 MiB or writing it to an absolute .tsm file without altering the design.
Instructions
Read the TSM (T-spline mesh) description of a T-spline body: the text (up to
1 MiB) or, with path, a .tsm file. Changes nothing in the design.
Errors: text over 1 MiB without path -> INVALID_PARAMS "use path"; a path that is not absolute / not .tsm / whose folder is missing, an existing file without overwrite=true -> INVALID_PARAMS.
Returns {"body", "tsm", "size_bytes"} or {"body", "files": [{"path", "size_bytes"}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | T-spline body ref (form_list / form_create_*) | |
| path | No | Absolute .tsm path to write to (default: return the text) | |
| overwrite | No | Replace an existing file |