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.

Element Information

Sample Code

Example code for the id GV_XPTURB_NODE_INPUT_TYPE 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_TYPE
{
INPORT  ;  EDITPORT  ;                          
    CYCLE 
    {         NODE_TURBMODE_TURB; 
        NODE_TURBMODE_WAVY; 
        NODE_TURBMODE_CURL_NEW; 
        NODE_TURBMODE_STANDARD; 
    }
}
            

Header File Code (GVxpturb.h)

#ifndef GVXPTURB_H__
#define GVXPTURB_H__
enum
{
  GV_XPTURB_NODE_INPUT_TYPE = 1000,  //First ID should start at 1000
    NODE_TURBMODE_TURB = 1,
    NODE_TURBMODE_WAVY = 2,
    NODE_TURBMODE_CURL_NEW = 3,
    NODE_TURBMODE_STANDARD = 4,
};
#endif	// GVXPTURB_H__

String File Code (GVxpturb.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  GV_XPTURB_NODE_INPUT_TYPE    "NoiseType";
    NODE_TURBMODE_TURB    "Turbulence";
    NODE_TURBMODE_WAVY    "WavyTurbulence";
    NODE_TURBMODE_CURL_NEW    "Curl";
    NODE_TURBMODE_STANDARD    "Standard";
}