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 ID_CTRACK_AFTER
Element Information
Sample Code
Example code for the id ID_CTRACK_AFTER in CTbase
Note that this is not the actual code from the CTbase file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (CTbase.res)
LONG ID_CTRACK_AFTER { CYCLE { ID_CTRACK_OFF; ID_CTRACK_CONSTANT; ID_CTRACK_CONTINUE; ID_CTRACK_REPEAT; ID_CTRACK_OFFSETREPEAT; ID_CTRACK_OSCILLATE; ID_CTRACK_LOOP; } }
Header File Code (CTbase.h)
#ifndef CTBASE_H__ #define CTBASE_H__ enum { ID_CTRACK_AFTER = 1000, //First ID should start at 1000 ID_CTRACK_OFF = 1, ID_CTRACK_CONSTANT = 2, ID_CTRACK_CONTINUE = 3, ID_CTRACK_REPEAT = 4, ID_CTRACK_OFFSETREPEAT = 5, ID_CTRACK_OSCILLATE = 6, ID_CTRACK_LOOP = 7, }; #endif // CTBASE_H__
String File Code (CTbase.str)
// C4D-StringResource // Identifier Text STRINGTABLE { ID_CTRACK_AFTER "After"; ID_CTRACK_OFF "Off"; ID_CTRACK_CONSTANT "Constant"; ID_CTRACK_CONTINUE "Continue"; ID_CTRACK_REPEAT "Repeat"; ID_CTRACK_OFFSETREPEAT "OffsetRepeat"; ID_CTRACK_OSCILLATE "Oscillate"; ID_CTRACK_LOOP "Loop"; }