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 GV_RANGEMAPPER_INPUT_DEFS
Element Information
Sample Code
Example code for the id GV_RANGEMAPPER_INPUT_DEFS in GVrangemapper
Note that this is not the actual code from the GVrangemapper file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (GVrangemapper.res)
LONG GV_RANGEMAPPER_INPUT_DEFS { CYCLE { GV_RANGEMAPPER_INPUT_USER; GV_RANGEMAPPER_INPUT_DEGREE; GV_RANGEMAPPER_INPUT_RADIANS; GV_RANGEMAPPER_INPUT_PERCENT; GV_RANGEMAPPER_INPUT_ZERO_TO_ONE; GV_RANGEMAPPER_INPUT_ZERO_TO_HUNDRED; GV_RANGEMAPPER_INPUT_ZERO_TO_THOUSAND; } }
Header File Code (GVrangemapper.h)
#ifndef GVRANGEMAPPER_H__ #define GVRANGEMAPPER_H__ enum { GV_RANGEMAPPER_INPUT_DEFS = 1000, //First ID should start at 1000 GV_RANGEMAPPER_INPUT_USER = 1, GV_RANGEMAPPER_INPUT_DEGREE = 2, GV_RANGEMAPPER_INPUT_RADIANS = 3, GV_RANGEMAPPER_INPUT_PERCENT = 4, GV_RANGEMAPPER_INPUT_ZERO_TO_ONE = 5, GV_RANGEMAPPER_INPUT_ZERO_TO_HUNDRED = 6, GV_RANGEMAPPER_INPUT_ZERO_TO_THOUSAND = 7, }; #endif // GVRANGEMAPPER_H__
String File Code (GVrangemapper.str)
// C4D-StringResource // Identifier Text STRINGTABLE { GV_RANGEMAPPER_INPUT_DEFS "InputRange"; GV_RANGEMAPPER_INPUT_USER "UserDefined"; GV_RANGEMAPPER_INPUT_DEGREE "Degree"; GV_RANGEMAPPER_INPUT_RADIANS "Radians"; GV_RANGEMAPPER_INPUT_PERCENT "Percent"; GV_RANGEMAPPER_INPUT_ZERO_TO_ONE "ZerotoOne"; GV_RANGEMAPPER_INPUT_ZERO_TO_HUNDRED "ZerotoHundred"; GV_RANGEMAPPER_INPUT_ZERO_TO_THOUSAND "ZerotoThousand"; }