export_scene
Export current SketchUp scene to temp file in skp, obj, dae, stl, png, or jpg format. Returns file path and format, with warning for unsaved models.
Instructions
Export the current scene to a temp file on the SketchUp host.
Formats: skp (native), obj / dae / stl (geometry), png / jpg (viewport render, default 1920×1080). The file is written on the machine running SketchUp — on a split-host setup the path is not directly readable here.
Returns: JSON {path, format} plus a "warning" field when exporting skp from a never-saved model (SketchUp binds the live document to the export path — relay the warning to the user).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | skp (native), obj / dae / stl (geometry), png / jpg (viewport render) | skp |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |