Create C4D Entity
create_entityCreate Cinema 4D objects, tags, materials, shaders, or video_post effects with parent linking, parameters, positions, and container slot assignment in a single call. Returns entity handle for further operations.
Instructions
Unified constructor for object / tag / material / shader / video_post. Handles parent linking, optional params, positions, and container slot assignment in one call. Returns the handle of the created entity (object handles include path for stable re-resolution) so you can chain set_params / set_keyframe. Note: kind:"shader" targets classical shader chains (Fusion, Colorizer, Xbitmap, …). For node-material edits (Standard node space / Redshift), use apply_graph_description instead. kind:"video_post" attaches a renderer effect (Octane 1029525, Redshift 1036219, Magic Bullet Looks 1054755, …) to a RenderData parent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Entity kind to create. | |
| name | No | Optional display name. | |
| slots | No | Owner BaseContainer slot ids to link the new shader into (e.g. [3740, 3741] for Octane AOV). | |
| params | No | {param_id: value} to set after allocation. Lists of 3 numbers become Vectors. | |
| parent | No | Parent handle. Required for tag (owner object), shader (owner VideoPost / tag / material) and video_post (owner render_data). Optional for object (creates at scene root if omitted). | |
| type_id | Yes | Plugin id. Accepts a numeric id (c4d.Ocube=5159, c4d.Ttexture=5616, Octane renderer=1029525, …) or, for kind='object', an alias string: 'cube', 'sphere', 'cylinder', 'cone', 'torus', 'plane', 'disc', 'pyramid', 'platonic', 'null'. | |
| position | No | Relative position [x,y,z] (objects only). |