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_SYSOBJ_ACTIONS_OTH 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_SYSOBJ_ACTIONS_OTH
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         SYSOBJ_CHOOSE_13; 
        1029574; 
        SYSOBJ_AEDITORONLY; 
        1027510; 
        SYSOBJ_ASPLINESTOP; 
        1028436; 
        SYSOBJ_AUNLINKTP; 
        1028182; 
        SYSOBJ_AUNSTICK; 
        1027806; 
    }
}
            

Header File Code (Oxpsystem.h)

#ifndef OXPSYSTEM_H__
#define OXPSYSTEM_H__
enum
{
  XOVM_SYSOBJ_ACTIONS_OTH = 1000,  //First ID should start at 1000
    SYSOBJ_CHOOSE_13 = 1,
    1029574 = 2,
    SYSOBJ_AEDITORONLY = 3,
    1027510 = 4,
    SYSOBJ_ASPLINESTOP = 5,
    1028436 = 6,
    SYSOBJ_AUNLINKTP = 7,
    1028182 = 8,
    SYSOBJ_AUNSTICK = 9,
    1027806 = 10,
};
#endif	// OXPSYSTEM_H__

String File Code (Oxpsystem.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XOVM_SYSOBJ_ACTIONS_OTH    "OtherActions";
    SYSOBJ_CHOOSE_13    "ChooseOtherAction...";
    1029574    "";
    SYSOBJ_AEDITORONLY    "EditorDisplayOnly";
    1027510    "";
    SYSOBJ_ASPLINESTOP    "StopMovingAlongSpline";
    1028436    "";
    SYSOBJ_AUNLINKTP    "UnlinkTP";
    1028182    "";
    SYSOBJ_AUNSTICK    "UnstickfromSourceObject";
    1027806    "";
}