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_OUTPUT_DEFS
Element Information
Sample Code
Example code for the id GV_RANGEMAPPER_OUTPUT_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_OUTPUT_DEFS { CYCLE { GV_RANGEMAPPER_OUTPUT_USER; GV_RANGEMAPPER_OUTPUT_DEGREE; GV_RANGEMAPPER_OUTPUT_RADIANS; GV_RANGEMAPPER_OUTPUT_PERCENT; GV_RANGEMAPPER_OUTPUT_ZERO_TO_ONE; GV_RANGEMAPPER_OUTPUT_ZERO_TO_HUNDRED; GV_RANGEMAPPER_OUTPUT_ZERO_TO_THOUSAND; } }
Header File Code (GVrangemapper.h)
#ifndef GVRANGEMAPPER_H__ #define GVRANGEMAPPER_H__ enum { GV_RANGEMAPPER_OUTPUT_DEFS = 1000, //First ID should start at 1000 GV_RANGEMAPPER_OUTPUT_USER = 1, GV_RANGEMAPPER_OUTPUT_DEGREE = 2, GV_RANGEMAPPER_OUTPUT_RADIANS = 3, GV_RANGEMAPPER_OUTPUT_PERCENT = 4, GV_RANGEMAPPER_OUTPUT_ZERO_TO_ONE = 5, GV_RANGEMAPPER_OUTPUT_ZERO_TO_HUNDRED = 6, GV_RANGEMAPPER_OUTPUT_ZERO_TO_THOUSAND = 7, }; #endif // GVRANGEMAPPER_H__
String File Code (GVrangemapper.str)
// C4D-StringResource // Identifier Text STRINGTABLE { GV_RANGEMAPPER_OUTPUT_DEFS "OutputRange"; GV_RANGEMAPPER_OUTPUT_USER "UserDefined"; GV_RANGEMAPPER_OUTPUT_DEGREE "Degree"; GV_RANGEMAPPER_OUTPUT_RADIANS "Radians"; GV_RANGEMAPPER_OUTPUT_PERCENT "Percent"; GV_RANGEMAPPER_OUTPUT_ZERO_TO_ONE "ZerotoOne"; GV_RANGEMAPPER_OUTPUT_ZERO_TO_HUNDRED "ZerotoHundred"; GV_RANGEMAPPER_OUTPUT_ZERO_TO_THOUSAND "ZerotoThousand"; }