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 DYNAMICS_PROXIMITY_NODE_MODE
Element Information
Sample Code
Example code for the id DYNAMICS_PROXIMITY_NODE_MODE in GVdynproximity
Note that this is not the actual code from the GVdynproximity file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (GVdynproximity.res)
LONG DYNAMICS_PROXIMITY_NODE_MODE { CYCLE { DYNAMICS_PROXIMITY_NODE_MODE_CENTER; DYNAMICS_PROXIMITY_NODE_MODE_BOUNDING_BOX; DYNAMICS_PROXIMITY_NODE_MODE_SHAPE; } }
Header File Code (GVdynproximity.h)
#ifndef GVDYNPROXIMITY_H__ #define GVDYNPROXIMITY_H__ enum { DYNAMICS_PROXIMITY_NODE_MODE = 1000, //First ID should start at 1000 DYNAMICS_PROXIMITY_NODE_MODE_CENTER = 1, DYNAMICS_PROXIMITY_NODE_MODE_BOUNDING_BOX = 2, DYNAMICS_PROXIMITY_NODE_MODE_SHAPE = 3, }; #endif // GVDYNPROXIMITY_H__
String File Code (GVdynproximity.str)
// C4D-StringResource // Identifier Text STRINGTABLE { DYNAMICS_PROXIMITY_NODE_MODE "Mode"; DYNAMICS_PROXIMITY_NODE_MODE_CENTER "Center"; DYNAMICS_PROXIMITY_NODE_MODE_BOUNDING_BOX "BoundingBox"; DYNAMICS_PROXIMITY_NODE_MODE_SHAPE "Shape"; }