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_XVOLGAS_FIRE_BLACKBODY_MAP in Mxpgas

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

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

Resource File Code (Mxpgas.res)


LONG  ID_XVOLGAS_FIRE_BLACKBODY_MAP
{
PARENTCOLLAPSE  ID_XVOLGAS_FIRE_BLACKBODY_PREVIEW;                          
    CYCLE 
    {         ID_XVOLGAS_FIRE_BLACKBODY_MAP_NTSC; 
        ID_XVOLGAS_FIRE_BLACKBODY_MAP_PAL; 
        ID_XVOLGAS_FIRE_BLACKBODY_MAP_SMPTE; 
        ID_XVOLGAS_FIRE_BLACKBODY_MAP_HDTV; 
        ID_XVOLGAS_FIRE_BLACKBODY_MAP_CIE; 
        ID_XVOLGAS_FIRE_BLACKBODY_MAP_CIEREC; 
    }
}
            

Header File Code (Mxpgas.h)

#ifndef MXPGAS_H__
#define MXPGAS_H__
enum
{
  ID_XVOLGAS_FIRE_BLACKBODY_MAP = 1000,  //First ID should start at 1000
    ID_XVOLGAS_FIRE_BLACKBODY_MAP_NTSC = 1,
    ID_XVOLGAS_FIRE_BLACKBODY_MAP_PAL = 2,
    ID_XVOLGAS_FIRE_BLACKBODY_MAP_SMPTE = 3,
    ID_XVOLGAS_FIRE_BLACKBODY_MAP_HDTV = 4,
    ID_XVOLGAS_FIRE_BLACKBODY_MAP_CIE = 5,
    ID_XVOLGAS_FIRE_BLACKBODY_MAP_CIEREC = 6,
};
#endif	// MXPGAS_H__

String File Code (Mxpgas.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  ID_XVOLGAS_FIRE_BLACKBODY_MAP    "Mapping";
    ID_XVOLGAS_FIRE_BLACKBODY_MAP_NTSC    "NTSC";
    ID_XVOLGAS_FIRE_BLACKBODY_MAP_PAL    "PAL";
    ID_XVOLGAS_FIRE_BLACKBODY_MAP_SMPTE    "SMPTE";
    ID_XVOLGAS_FIRE_BLACKBODY_MAP_HDTV    "HDTV";
    ID_XVOLGAS_FIRE_BLACKBODY_MAP_CIE    "CIE";
    ID_XVOLGAS_FIRE_BLACKBODY_MAP_CIEREC    "CIEREC790";
}