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 XOVM_ICONCOLOR_MENU in Oxpsystem

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

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

Resource File Code (Oxpsystem.res)


LONG  XOVM_ICONCOLOR_MENU
{
                        
    CYCLE 
    {         ICON_AMBER; 
        1028695; 
        ICON_WHITE; 
        1029263; 
        ICON_RED; 
        1029265; 
        ICON_GREEN; 
        1029266; 
        ICON_BLUE; 
        1029267; 
        ICON_CYAN; 
        1029264; 
        ICON_YELLOW; 
        1029268; 
        ICON_PURPLE; 
        1029269; 
        ICON_FUSCHIA; 
        1029270; 
        ICON_TEAL; 
        1029271; 
        ICON_OLIVE; 
        1029272; 
        ICON_SILVER; 
        1029273; 
        ICON_PINK; 
        1029274; 
        ICON_CREAM; 
        1029275; 
        ICON_LGREEN; 
        1029276; 
        ICON_LBLUE; 
        1029277; 
    }
}
            

Header File Code (Oxpsystem.h)

#ifndef OXPSYSTEM_H__
#define OXPSYSTEM_H__
enum
{
  XOVM_ICONCOLOR_MENU = 1000,  //First ID should start at 1000
    ICON_AMBER = 1,
    1028695 = 2,
    ICON_WHITE = 3,
    1029263 = 4,
    ICON_RED = 5,
    1029265 = 6,
    ICON_GREEN = 7,
    1029266 = 8,
    ICON_BLUE = 9,
    1029267 = 10,
    ICON_CYAN = 11,
    1029264 = 12,
    ICON_YELLOW = 13,
    1029268 = 14,
    ICON_PURPLE = 15,
    1029269 = 16,
    ICON_FUSCHIA = 17,
    1029270 = 18,
    ICON_TEAL = 19,
    1029271 = 20,
    ICON_OLIVE = 21,
    1029272 = 22,
    ICON_SILVER = 23,
    1029273 = 24,
    ICON_PINK = 25,
    1029274 = 26,
    ICON_CREAM = 27,
    1029275 = 28,
    ICON_LGREEN = 29,
    1029276 = 30,
    ICON_LBLUE = 31,
    1029277 = 32,
};
#endif	// OXPSYSTEM_H__

String File Code (Oxpsystem.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XOVM_ICONCOLOR_MENU    "IconColor";
    ICON_AMBER    "Amber(Default)";
    1028695    "";
    ICON_WHITE    "White";
    1029263    "";
    ICON_RED    "Red";
    1029265    "";
    ICON_GREEN    "Green";
    1029266    "";
    ICON_BLUE    "Blue";
    1029267    "";
    ICON_CYAN    "Cyan";
    1029264    "";
    ICON_YELLOW    "Yellow";
    1029268    "";
    ICON_PURPLE    "Purple";
    1029269    "";
    ICON_FUSCHIA    "Fuschia";
    1029270    "";
    ICON_TEAL    "Teal";
    1029271    "";
    ICON_OLIVE    "Olive";
    1029272    "";
    ICON_SILVER    "Silver";
    1029273    "";
    ICON_PINK    "Pink";
    1029274    "";
    ICON_CREAM    "Cream";
    1029275    "";
    ICON_LGREEN    "LightGreen";
    1029276    "";
    ICON_LBLUE    "LightBlue";
    1029277    "";
}