Demonstrates how to implement a scene element that dynamically updates its icon.
The ObjectData plugin fills custom icon settings from the host node and returns a colorized icon using the Cinema 4D R21 custom icon API.
To run this example, place the file in the Cinema 4D plugins folder and restart Cinema 4D.
Topics:
- Providing custom icon settings for an ObjectData plugin
- Deriving icon colors from a scene element
| File | Description |
|---|---|
| py_obj_custom_icon.pyp | Demonstrates how to implement a scene element that dynamically updates its icon. |
| README.md | This file. |
| res/c4d_symbols.h | Global symbols and identifiers used by the plugin. |
| res/customicon.tif | Custom icon displayed by the plugin object. |
| res/description/py_custom_icon.h | Description symbols for the py_custom_icon object. |
| res/description/py_custom_icon.res | Description definition for the py_custom_icon object. |
| res/strings_us/description/py_custom_icon.str | The English language string table by the py_custom_icon description. |