Call C4D Command
call_commandExecute Cinema 4D commands by providing a command ID, supporting built-in and plugin commands for actions like rendering and saving.
Instructions
Invoke a Cinema 4D command by plugin id via c4d.CallCommand(). Works for built-in commands (render, save, make editable, ...) and any registered command plugin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subid | No | Optional sub-id (rarely needed). | |
| command_id | Yes | Cinema 4D command id. Examples: 12099 = Render to Picture Viewer, 12161 = Save Document, 12236 = Make Editable, 12168 = New Document. Use list_plugins (plugin_type="command") to discover. | |
| timeout_ms | No | Request timeout in ms (default 60000). CallCommand often runs synchronously; increase for long-running ones like Render. |