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 TIMEFIELDLAYER_SHAPE
Element Information
Sample Code
Example code for the id TIMEFIELDLAYER_SHAPE in FLtime
Note that this is not the actual code from the FLtime file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (FLtime.res)
LONG TIMEFIELDLAYER_SHAPE { CYCLE { TIMEFIELDLAYER_SHAPE_NONE; TIMEFIELDLAYER_SHAPE_SINE; TIMEFIELDLAYER_SHAPE_TRIANGLE; TIMEFIELDLAYER_SHAPE_SAWTOOTH; TIMEFIELDLAYER_SHAPE_SQUARE; } }
Header File Code (FLtime.h)
#ifndef FLTIME_H__ #define FLTIME_H__ enum { TIMEFIELDLAYER_SHAPE = 1000, //First ID should start at 1000 TIMEFIELDLAYER_SHAPE_NONE = 1, TIMEFIELDLAYER_SHAPE_SINE = 2, TIMEFIELDLAYER_SHAPE_TRIANGLE = 3, TIMEFIELDLAYER_SHAPE_SAWTOOTH = 4, TIMEFIELDLAYER_SHAPE_SQUARE = 5, }; #endif // FLTIME_H__
String File Code (FLtime.str)
// C4D-StringResource // Identifier Text STRINGTABLE { TIMEFIELDLAYER_SHAPE "Shape"; TIMEFIELDLAYER_SHAPE_NONE "None"; TIMEFIELDLAYER_SHAPE_SINE "Sine"; TIMEFIELDLAYER_SHAPE_TRIANGLE "Triangle"; TIMEFIELDLAYER_SHAPE_SAWTOOTH "Sawtooth"; TIMEFIELDLAYER_SHAPE_SQUARE "Square"; }