export_scene
Export the current SketchUp scene to a file on the host machine. Supports native SKP, geometry (OBJ/DAE/STL), and image (PNG/JPG) formats, returning the file path.
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 |