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 XACTNULL_ACTIONS_DIRECT in Oxactnull

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

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

Resource File Code (Oxactnull.res)


LONG  XACTNULL_ACTIONS_DIRECT
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         XACTNULL_CHOOSE_DIR; 
        1029574; 
        XACTNULL_AGEOMETRY; 
        1027504; 
        XACTNULL_APGROUP; 
        1028703; 
        XACTNULL_APLIFE; 
        1027511; 
        XACTNULL_ALIGHTS; 
        1028030; 
        XACTNULL_ASCALE; 
        1027803; 
        XACTNULL_ASPEED; 
        1027506; 
        XACTNULL_ASPIN; 
        1027804; 
        XACTNULL_ASPRITES; 
        1028094; 
        XACTNULL_AMORPH; 
        1029125; 
        XACTNULL_ASPAWN; 
        1027505; 
        XACTNULL_AEXPLODE; 
        1032296; 
        XACTNULL_AFREEZE; 
        1027802; 
    }
}
            

Header File Code (Oxactnull.h)

#ifndef OXACTNULL_H__
#define OXACTNULL_H__
enum
{
  XACTNULL_ACTIONS_DIRECT = 1000,  //First ID should start at 1000
    XACTNULL_CHOOSE_DIR = 1,
    1029574 = 2,
    XACTNULL_AGEOMETRY = 3,
    1027504 = 4,
    XACTNULL_APGROUP = 5,
    1028703 = 6,
    XACTNULL_APLIFE = 7,
    1027511 = 8,
    XACTNULL_ALIGHTS = 9,
    1028030 = 10,
    XACTNULL_ASCALE = 11,
    1027803 = 12,
    XACTNULL_ASPEED = 13,
    1027506 = 14,
    XACTNULL_ASPIN = 15,
    1027804 = 16,
    XACTNULL_ASPRITES = 17,
    1028094 = 18,
    XACTNULL_AMORPH = 19,
    1029125 = 20,
    XACTNULL_ASPAWN = 21,
    1027505 = 22,
    XACTNULL_AEXPLODE = 23,
    1032296 = 24,
    XACTNULL_AFREEZE = 25,
    1027802 = 26,
};
#endif	// OXACTNULL_H__

String File Code (Oxactnull.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XACTNULL_ACTIONS_DIRECT    "DirectActions";
    XACTNULL_CHOOSE_DIR    "ChooseDirectAction...";
    1029574    "";
    XACTNULL_AGEOMETRY    "ChangeGeometry";
    1027504    "";
    XACTNULL_APGROUP    "ChangeGroup";
    1028703    "";
    XACTNULL_APLIFE    "ChangeLife";
    1027511    "";
    XACTNULL_ALIGHTS    "ChangeLights";
    1028030    "";
    XACTNULL_ASCALE    "ChangeScale";
    1027803    "";
    XACTNULL_ASPEED    "ChangeSpeed";
    1027506    "";
    XACTNULL_ASPIN    "ChangeSpin";
    1027804    "";
    XACTNULL_ASPRITES    "ChangeSprites";
    1028094    "";
    XACTNULL_AMORPH    "ControlMorphing";
    1029125    "";
    XACTNULL_ASPAWN    "ControlSpawning";
    1027505    "";
    XACTNULL_AEXPLODE    "ExplodeParticles";
    1032296    "";
    XACTNULL_AFREEZE    "FreezeParticles";
    1027802    "";
}