Save current scene. Args: path: Path to save scene to (optional) Returns: Dictionary with operation result
(self, path: str | None = None)
| 72 | return self._conn.send_request("scene", params) |
| 73 | |
| 74 | def save(self, path: str | None = None) -> dict[str, Any]: |
| 75 | """Save current scene. |
| 76 | |
| 77 | Args: |
| 78 | path: Path to save scene to (optional) |
| 79 | |
| 80 | Returns: |
| 81 | Dictionary with operation result |
| 82 | """ |
| 83 | params: dict[str, Any] = {"action": "save"} |
| 84 | if path: |
| 85 | params["path"] = path |
| 86 | return self._conn.send_request("scene", params) |