export_png
Save the current SketchUp viewport as a PNG or JPG image at a chosen path, with optional pixel dimensions, camera view, and transparent background.
Instructions
Export the viewport as a PNG/JPG file (e.g. 'D:/Export/perspective.png'). width/height in pixels; view changes the camera first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "export_png"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| view | No | ||
| width | No | ||
| height | No | ||
| transparent | No |