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 FIELDLAYER_CURVE_POSTMODE
Element Information
Sample Code
Example code for the id FIELDLAYER_CURVE_POSTMODE in FLCurve
Note that this is not the actual code from the FLCurve file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (FLCurve.res)
LONG FIELDLAYER_CURVE_POSTMODE { SCALE_H ; CYCLE { FIELDLAYER_CURVE_MODE_CLAMP; -1; FIELDLAYER_CURVE_MODE_VELOCITY; FIELDLAYER_CURVE_MODE_CURVE; -1; FIELDLAYER_CURVE_MODE_LOOP; FIELDLAYER_CURVE_MODE_PINGPONG; } }
Header File Code (FLCurve.h)
#ifndef FLCURVE_H__ #define FLCURVE_H__ enum { FIELDLAYER_CURVE_POSTMODE = 1000, //First ID should start at 1000 FIELDLAYER_CURVE_MODE_CLAMP = 1, -1 = 2, FIELDLAYER_CURVE_MODE_VELOCITY = 3, FIELDLAYER_CURVE_MODE_CURVE = 4, -1 = 5, FIELDLAYER_CURVE_MODE_LOOP = 6, FIELDLAYER_CURVE_MODE_PINGPONG = 7, }; #endif // FLCURVE_H__
String File Code (FLCurve.str)
// C4D-StringResource // Identifier Text STRINGTABLE { FIELDLAYER_CURVE_POSTMODE "AfterCurve"; FIELDLAYER_CURVE_MODE_CLAMP "Clamp"; -1 ""; FIELDLAYER_CURVE_MODE_VELOCITY "Continue"; FIELDLAYER_CURVE_MODE_CURVE "Curve"; -1 ""; FIELDLAYER_CURVE_MODE_LOOP "Loop"; FIELDLAYER_CURVE_MODE_PINGPONG "PingPong"; }