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 OUTLINEMAT_ADV_BLENDMODE in Moutliner

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

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

Resource File Code (Moutliner.res)


LONG  OUTLINEMAT_ADV_BLENDMODE
{
                        
    CYCLE 
    {         OUTLINEMAT_BLENDMODE_AVERAGE; 
        OUTLINEMAT_BLENDMODE_NORMAL; 
        OUTLINEMAT_BLENDMODE_MULTIPLY; 
        OUTLINEMAT_BLENDMODE_SCREEN; 
        OUTLINEMAT_BLENDMODE_DARKEN; 
        OUTLINEMAT_BLENDMODE_LIGHT; 
        OUTLINEMAT_BLENDMODE_DIFFERENCE; 
        OUTLINEMAT_BLENDMODE_NEGATIVE; 
        OUTLINEMAT_BLENDMODE_EXCLUSION; 
        OUTLINEMAT_BLENDMODE_OVERLAY; 
        OUTLINEMAT_BLENDMODE_HARDLIGHT; 
        OUTLINEMAT_BLENDMODE_SOFTLIGHT; 
        OUTLINEMAT_BLENDMODE_DODGE; 
        OUTLINEMAT_BLENDMODE_BURN; 
        OUTLINEMAT_BLENDMODE_REFLECT; 
        OUTLINEMAT_BLENDMODE_GLOW; 
        OUTLINEMAT_BLENDMODE_FREEZE; 
        OUTLINEMAT_BLENDMODE_HEAT; 
        OUTLINEMAT_BLENDMODE_ADD; 
        OUTLINEMAT_BLENDMODE_SUB; 
        OUTLINEMAT_BLENDMODE_STAMP; 
        OUTLINEMAT_BLENDMODE_XOR; 
        OUTLINEMAT_BLENDMODE_HUE; 
        OUTLINEMAT_BLENDMODE_SATURATION; 
        OUTLINEMAT_BLENDMODE_LUMINANCE; 
        OUTLINEMAT_BLENDMODE_RED; 
        OUTLINEMAT_BLENDMODE_GREEN; 
        OUTLINEMAT_BLENDMODE_BLUE; 
        OUTLINEMAT_BLENDMODE_OVERWRITE; 
        OUTLINEMAT_BLENDMODE_LEVR; 
    }
}
            

Header File Code (Moutliner.h)

#ifndef MOUTLINER_H__
#define MOUTLINER_H__
enum
{
  OUTLINEMAT_ADV_BLENDMODE = 1000,  //First ID should start at 1000
    OUTLINEMAT_BLENDMODE_AVERAGE = 1,
    OUTLINEMAT_BLENDMODE_NORMAL = 2,
    OUTLINEMAT_BLENDMODE_MULTIPLY = 3,
    OUTLINEMAT_BLENDMODE_SCREEN = 4,
    OUTLINEMAT_BLENDMODE_DARKEN = 5,
    OUTLINEMAT_BLENDMODE_LIGHT = 6,
    OUTLINEMAT_BLENDMODE_DIFFERENCE = 7,
    OUTLINEMAT_BLENDMODE_NEGATIVE = 8,
    OUTLINEMAT_BLENDMODE_EXCLUSION = 9,
    OUTLINEMAT_BLENDMODE_OVERLAY = 10,
    OUTLINEMAT_BLENDMODE_HARDLIGHT = 11,
    OUTLINEMAT_BLENDMODE_SOFTLIGHT = 12,
    OUTLINEMAT_BLENDMODE_DODGE = 13,
    OUTLINEMAT_BLENDMODE_BURN = 14,
    OUTLINEMAT_BLENDMODE_REFLECT = 15,
    OUTLINEMAT_BLENDMODE_GLOW = 16,
    OUTLINEMAT_BLENDMODE_FREEZE = 17,
    OUTLINEMAT_BLENDMODE_HEAT = 18,
    OUTLINEMAT_BLENDMODE_ADD = 19,
    OUTLINEMAT_BLENDMODE_SUB = 20,
    OUTLINEMAT_BLENDMODE_STAMP = 21,
    OUTLINEMAT_BLENDMODE_XOR = 22,
    OUTLINEMAT_BLENDMODE_HUE = 23,
    OUTLINEMAT_BLENDMODE_SATURATION = 24,
    OUTLINEMAT_BLENDMODE_LUMINANCE = 25,
    OUTLINEMAT_BLENDMODE_RED = 26,
    OUTLINEMAT_BLENDMODE_GREEN = 27,
    OUTLINEMAT_BLENDMODE_BLUE = 28,
    OUTLINEMAT_BLENDMODE_OVERWRITE = 29,
    OUTLINEMAT_BLENDMODE_LEVR = 30,
};
#endif	// MOUTLINER_H__

String File Code (Moutliner.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  OUTLINEMAT_ADV_BLENDMODE    "Blend";
    OUTLINEMAT_BLENDMODE_AVERAGE    "Average";
    OUTLINEMAT_BLENDMODE_NORMAL    "Normal";
    OUTLINEMAT_BLENDMODE_MULTIPLY    "Multiply";
    OUTLINEMAT_BLENDMODE_SCREEN    "Screen";
    OUTLINEMAT_BLENDMODE_DARKEN    "Darken";
    OUTLINEMAT_BLENDMODE_LIGHT    "Lighten";
    OUTLINEMAT_BLENDMODE_DIFFERENCE    "Difference";
    OUTLINEMAT_BLENDMODE_NEGATIVE    "Negative";
    OUTLINEMAT_BLENDMODE_EXCLUSION    "Exclusion";
    OUTLINEMAT_BLENDMODE_OVERLAY    "Overlay";
    OUTLINEMAT_BLENDMODE_HARDLIGHT    "HardLight";
    OUTLINEMAT_BLENDMODE_SOFTLIGHT    "SoftLight";
    OUTLINEMAT_BLENDMODE_DODGE    "Dodge";
    OUTLINEMAT_BLENDMODE_BURN    "Burn";
    OUTLINEMAT_BLENDMODE_REFLECT    "Reflect";
    OUTLINEMAT_BLENDMODE_GLOW    "Glow";
    OUTLINEMAT_BLENDMODE_FREEZE    "Freeze";
    OUTLINEMAT_BLENDMODE_HEAT    "Heat";
    OUTLINEMAT_BLENDMODE_ADD    "Add";
    OUTLINEMAT_BLENDMODE_SUB    "Subtract";
    OUTLINEMAT_BLENDMODE_STAMP    "Stamp";
    OUTLINEMAT_BLENDMODE_XOR    "Xor";
    OUTLINEMAT_BLENDMODE_HUE    "Hue";
    OUTLINEMAT_BLENDMODE_SATURATION    "Saturation";
    OUTLINEMAT_BLENDMODE_LUMINANCE    "Luminance";
    OUTLINEMAT_BLENDMODE_RED    "Red";
    OUTLINEMAT_BLENDMODE_GREEN    "Green";
    OUTLINEMAT_BLENDMODE_BLUE    "Blue";
    OUTLINEMAT_BLENDMODE_OVERWRITE    "Overwrite";
    OUTLINEMAT_BLENDMODE_LEVR    "Levr";
}