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 MOTIONBLURTAG_MODE in Tmotionblur

Note that this is not the actual code from the Tmotionblur file.

This code is just an example to show you how to add a similar control to your own description.

Resource File Code (Tmotionblur.res)


LONG  MOTIONBLURTAG_MODE
{
                        
    CYCLE 
    {         MOTIONBLURTAG_MODE_FULL; 
        MOTIONBLURTAG_MODE_MOTION; 
        MOTIONBLURTAG_MODE_NONE; 
    }
}
            

Header File Code (Tmotionblur.h)

#ifndef TMOTIONBLUR_H__
#define TMOTIONBLUR_H__
enum
{
  MOTIONBLURTAG_MODE = 1000,  //First ID should start at 1000
    MOTIONBLURTAG_MODE_FULL = 1,
    MOTIONBLURTAG_MODE_MOTION = 2,
    MOTIONBLURTAG_MODE_NONE = 3,
};
#endif	// TMOTIONBLUR_H__

String File Code (Tmotionblur.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  MOTIONBLURTAG_MODE    "Mode";
    MOTIONBLURTAG_MODE_FULL    "FullMotion";
    MOTIONBLURTAG_MODE_MOTION    "NoDeformation";
    MOTIONBLURTAG_MODE_NONE    "NoMotionBlur";
}