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_XPEMIT_NODE_EDITOR
Element Information
Sample Code
Example code for the id GV_XPEMIT_NODE_EDITOR in GVxpemit
Note that this is not the actual code from the GVxpemit file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (GVxpemit.res)
LONG GV_XPEMIT_NODE_EDITOR { CYCLE { NODE_EDITOR_DOT; NODE_EDITOR_TICK; NODE_EDITOR_AXIS; NODE_EDITOR_BOX; NODE_EDITOR_BOX3D; NODE_EDITOR_BOX3D_FILLED; NODE_EDITOR_SPHERE; NODE_EDITOR_LINE; NODE_EDITOR_CIRCLE; NODE_EDITOR_CIRCLE_FILLED; NODE_EDITOR_NONE; } }
Header File Code (GVxpemit.h)
#ifndef GVXPEMIT_H__ #define GVXPEMIT_H__ enum { GV_XPEMIT_NODE_EDITOR = 1000, //First ID should start at 1000 NODE_EDITOR_DOT = 1, NODE_EDITOR_TICK = 2, NODE_EDITOR_AXIS = 3, NODE_EDITOR_BOX = 4, NODE_EDITOR_BOX3D = 5, NODE_EDITOR_BOX3D_FILLED = 6, NODE_EDITOR_SPHERE = 7, NODE_EDITOR_LINE = 8, NODE_EDITOR_CIRCLE = 9, NODE_EDITOR_CIRCLE_FILLED = 10, NODE_EDITOR_NONE = 11, }; #endif // GVXPEMIT_H__
String File Code (GVxpemit.str)
// C4D-StringResource // Identifier Text STRINGTABLE { GV_XPEMIT_NODE_EDITOR "EditorShape"; NODE_EDITOR_DOT "Dots"; NODE_EDITOR_TICK "Ticks"; NODE_EDITOR_AXIS "Axes"; NODE_EDITOR_BOX "Squares"; NODE_EDITOR_BOX3D "Box"; NODE_EDITOR_BOX3D_FILLED "Box(Filled)"; NODE_EDITOR_SPHERE "Spheres"; NODE_EDITOR_LINE "Lines"; NODE_EDITOR_CIRCLE "Circle"; NODE_EDITOR_CIRCLE_FILLED "Circle(Filled)"; NODE_EDITOR_NONE "None"; }