Modeling Command
modeling_commandExecute Cinema 4D modeling commands on objects. Returns handles for new geometry from commands like Connect, Split, or for mutated targets from in-place operations.
Instructions
Run a Cinema 4D modeling operation via c4d.utils.SendModelingCommand on one or more target objects. Commands that produce new geometry (Current State to Object, Connect / Join, Split, Explode Segments) return handles to the inserted results; in-place commands (Make Editable, Subdivide, Triangulate, …) return the mutated targets. Aliases: current_state_to_object / cso, make_editable, connect / join, connect_delete, subdivide, triangulate, untriangulate, reverse_normals, align_normals, optimize, center_axis, split, explode_segments, melt, collapse, dissolve.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | MODELINGCOMMANDMODE_* selector. Default 'all'. | |
| params | No | Optional BaseContainer params for the command (e.g. subdivision level). | |
| command | Yes | Alias (see description) or raw MCOMMAND_* integer. | |
| targets | Yes | Target object handles. |