Add User Data Slot
add_user_dataAdd a new User Data slot to any Cinema 4D object for rigging or control exposure, returning the slot's DescID to enable parameter reading and writing.
Instructions
Add a new User Data slot to any BaseList2D (common rigging / control-exposure pattern). Returns the slot's DescID (as a nested list) which can be piped into get_params / set_params as a path. dtype aliases: real, long, bool, vector, string, color, filename, time, link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Numeric upper bound (real / long). | |
| min | No | Numeric lower bound (real / long). | |
| name | Yes | Display name for the new UD slot. | |
| step | No | Spinner step size. | |
| dtype | Yes | User-data dtype. | |
| value | No | Initial value. For vector / color, pass [x,y,z]. | |
| handle | Yes | Target (object / tag / material / etc.). | |
| default | No | Default stored on the descriptor. |