Here you will find documentation on all the descriptions that Cinema 4D currently has. You can list them Alphabetically, by Type or Plugin . The sample Python and C++ code is automatically generated and in some cases may not be 100% correct. If something doesn't work then please refer to the official Cinema 4D SDK documentation for more information.
ID CACHE_TOOL_MODE
Element Information
Sample Code
Example code for the id CACHE_TOOL_MODE in CacheTool
Note that this is not the actual code from the CacheTool file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (CacheTool.res)
LONG CACHE_TOOL_MODE { ALIGN_LEFT ; CYCLE { CACHE_TOOL_MODE_SMEAR; CACHE_TOOL_MODE_SMOOTH; } }
Header File Code (CacheTool.h)
#ifndef CACHETOOL_H__ #define CACHETOOL_H__ enum { CACHE_TOOL_MODE = 1000, //First ID should start at 1000 CACHE_TOOL_MODE_SMEAR = 1, CACHE_TOOL_MODE_SMOOTH = 2, }; #endif // CACHETOOL_H__
String File Code (CacheTool.str)
// C4D-StringResource // Identifier Text STRINGTABLE { CACHE_TOOL_MODE "Mode"; CACHE_TOOL_MODE_SMEAR "Smear"; CACHE_TOOL_MODE_SMOOTH "Smooth"; }