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_XPGROUP_NODE_DISPLAY
Element Information
Sample Code
Example code for the id GV_XPGROUP_NODE_DISPLAY in GVxpgroup
Note that this is not the actual code from the GVxpgroup file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (GVxpgroup.res)
LONG GV_XPGROUP_NODE_DISPLAY { CYCLE { NODE_XGDISPLAY_DOT; NODE_XGDISPLAY_TICK; NODE_XGDISPLAY_AXIS; NODE_XGDISPLAY_BOX; NODE_XGDISPLAY_BOX3D; NODE_XGDISPLAY_BOX3D_FILLED; NODE_XGDISPLAY_SPHERE; NODE_XGDISPLAY_LINE; NODE_XGDISPLAY_CIRCLE; NODE_XGDISPLAY_CIRCLE_FILLED; NODE_XGDISPLAY_NONE; } }
Header File Code (GVxpgroup.h)
#ifndef GVXPGROUP_H__ #define GVXPGROUP_H__ enum { GV_XPGROUP_NODE_DISPLAY = 1000, //First ID should start at 1000 NODE_XGDISPLAY_DOT = 1, NODE_XGDISPLAY_TICK = 2, NODE_XGDISPLAY_AXIS = 3, NODE_XGDISPLAY_BOX = 4, NODE_XGDISPLAY_BOX3D = 5, NODE_XGDISPLAY_BOX3D_FILLED = 6, NODE_XGDISPLAY_SPHERE = 7, NODE_XGDISPLAY_LINE = 8, NODE_XGDISPLAY_CIRCLE = 9, NODE_XGDISPLAY_CIRCLE_FILLED = 10, NODE_XGDISPLAY_NONE = 11, }; #endif // GVXPGROUP_H__
String File Code (GVxpgroup.str)
// C4D-StringResource // Identifier Text STRINGTABLE { GV_XPGROUP_NODE_DISPLAY "EditorDisplay"; NODE_XGDISPLAY_DOT "Dots"; NODE_XGDISPLAY_TICK "Ticks"; NODE_XGDISPLAY_AXIS "Axes"; NODE_XGDISPLAY_BOX "Squares"; NODE_XGDISPLAY_BOX3D "Box"; NODE_XGDISPLAY_BOX3D_FILLED "Box(Filled)"; NODE_XGDISPLAY_SPHERE "Spheres"; NODE_XGDISPLAY_LINE "Lines"; NODE_XGDISPLAY_CIRCLE "Circle"; NODE_XGDISPLAY_CIRCLE_FILLED "Circle(Filled)"; NODE_XGDISPLAY_NONE "None"; }