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_CMP_FUNCTION
Element Information
Sample Code
Example code for the id GV_CMP_FUNCTION in GVcmp
Note that this is not the actual code from the GVcmp file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (GVcmp.res)
LONG GV_CMP_FUNCTION { CYCLE { GV_EQU_NODE_FUNCTION; GV_LESS_NODE_FUNCTION; GV_LESSEQU_NODE_FUNCTION; GV_GREATER_NODE_FUNCTION; GV_GREATEREQU_NODE_FUNCTION; GV_NOT_EQU_NODE_FUNCTION; } }
Header File Code (GVcmp.h)
#ifndef GVCMP_H__ #define GVCMP_H__ enum { GV_CMP_FUNCTION = 1000, //First ID should start at 1000 GV_EQU_NODE_FUNCTION = 1, GV_LESS_NODE_FUNCTION = 2, GV_LESSEQU_NODE_FUNCTION = 3, GV_GREATER_NODE_FUNCTION = 4, GV_GREATEREQU_NODE_FUNCTION = 5, GV_NOT_EQU_NODE_FUNCTION = 6, }; #endif // GVCMP_H__
String File Code (GVcmp.str)
// C4D-StringResource // Identifier Text STRINGTABLE { GV_CMP_FUNCTION "Function"; GV_EQU_NODE_FUNCTION "=="; GV_LESS_NODE_FUNCTION "<"; GV_LESSEQU_NODE_FUNCTION "<="; GV_GREATER_NODE_FUNCTION ">"; GV_GREATEREQU_NODE_FUNCTION ">="; GV_NOT_EQU_NODE_FUNCTION "!="; }