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_XPTURB_NODE_INPUT_REPEAT
Element Information
Sample Code
Example code for the id GV_XPTURB_NODE_INPUT_REPEAT in GVxpturb
Note that this is not the actual code from the GVxpturb file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (GVxpturb.res)
LONG GV_XPTURB_NODE_INPUT_REPEAT { INPORT ; EDITPORT ; CYCLE { NODE_REPEAT_1; NODE_REPEAT_2; NODE_REPEAT_3; NODE_REPEAT_4; NODE_REPEAT_5; NODE_REPEAT_6; NODE_REPEAT_7; NODE_REPEAT_8; NODE_REPEAT_9; NODE_REPEAT_10; } }
Header File Code (GVxpturb.h)
#ifndef GVXPTURB_H__ #define GVXPTURB_H__ enum { GV_XPTURB_NODE_INPUT_REPEAT = 1000, //First ID should start at 1000 NODE_REPEAT_1 = 1, NODE_REPEAT_2 = 2, NODE_REPEAT_3 = 3, NODE_REPEAT_4 = 4, NODE_REPEAT_5 = 5, NODE_REPEAT_6 = 6, NODE_REPEAT_7 = 7, NODE_REPEAT_8 = 8, NODE_REPEAT_9 = 9, NODE_REPEAT_10 = 10, }; #endif // GVXPTURB_H__
String File Code (GVxpturb.str)
// C4D-StringResource // Identifier Text STRINGTABLE { GV_XPTURB_NODE_INPUT_REPEAT "RepeatInterval"; NODE_REPEAT_1 "2"; NODE_REPEAT_2 "4"; NODE_REPEAT_3 "8"; NODE_REPEAT_4 "16"; NODE_REPEAT_5 "32"; NODE_REPEAT_6 "64"; NODE_REPEAT_7 "128"; NODE_REPEAT_8 "256"; NODE_REPEAT_9 "512"; NODE_REPEAT_10 "1024"; }