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 ID_MT_CLIP_TYPEFADEOUT in MT_CLIP

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

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

Resource File Code (MT_CLIP.res)


LONG  ID_MT_CLIP_TYPEFADEOUT
{
FIT_H  ;  ANIM  OFF;                          
    CYCLE 
    {         ID_MT_CLIP_FADEOFF; 
        ID_MT_CLIP_FADEEASE; 
        ID_MT_CLIP_FADELINEAR; 
        ID_MT_CLIP_EASEIN; 
        ID_MT_CLIP_EASEOUT; 
        ID_MT_CLIP_FADESPLINE; 
    }
}
            

Header File Code (MT_CLIP.h)

#ifndef MT_CLIP_H__
#define MT_CLIP_H__
enum
{
  ID_MT_CLIP_TYPEFADEOUT = 1000,  //First ID should start at 1000
    ID_MT_CLIP_FADEOFF = 1,
    ID_MT_CLIP_FADEEASE = 2,
    ID_MT_CLIP_FADELINEAR = 3,
    ID_MT_CLIP_EASEIN = 4,
    ID_MT_CLIP_EASEOUT = 5,
    ID_MT_CLIP_FADESPLINE = 6,
};
#endif	// MT_CLIP_H__

String File Code (MT_CLIP.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  ID_MT_CLIP_TYPEFADEOUT    "Blending";
    ID_MT_CLIP_FADEOFF    "OFF";
    ID_MT_CLIP_FADEEASE    "EasyEase";
    ID_MT_CLIP_FADELINEAR    "Linear";
    ID_MT_CLIP_EASEIN    "EaseIn";
    ID_MT_CLIP_EASEOUT    "EaseOut";
    ID_MT_CLIP_FADESPLINE    "Spline";
}