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_DYNAMICS 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_DYNAMICS
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         SYSOBJ_CHOOSE_5; 
        1032131; 
        SYSOBJ_DOMAIN; 
        1033595; 
        SYSOBJ_CONSTRAINTS; 
        1033777; 
        SYSOBJ_PPCOLLISIONS; 
        1033823; 
        SYSOBJ_FLUIDS; 
        1033824; 
    }
}
            

Header File Code (Oxpsystem.h)

#ifndef OXPSYSTEM_H__
#define OXPSYSTEM_H__
enum
{
  XOVM_SYSOBJ_DYNAMICS = 1000,  //First ID should start at 1000
    SYSOBJ_CHOOSE_5 = 1,
    1032131 = 2,
    SYSOBJ_DOMAIN = 3,
    1033595 = 4,
    SYSOBJ_CONSTRAINTS = 5,
    1033777 = 6,
    SYSOBJ_PPCOLLISIONS = 7,
    1033823 = 8,
    SYSOBJ_FLUIDS = 9,
    1033824 = 10,
};
#endif	// OXPSYSTEM_H__

String File Code (Oxpsystem.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XOVM_SYSOBJ_DYNAMICS    "Dynamics";
    SYSOBJ_CHOOSE_5    "ChooseDynamicObject...";
    1032131    "";
    SYSOBJ_DOMAIN    "FLIPDomain";
    1033595    "";
    SYSOBJ_CONSTRAINTS    "Constraints";
    1033777    "";
    SYSOBJ_PPCOLLISIONS    "P-PCollisions";
    1033823    "";
    SYSOBJ_FLUIDS    "SPHFluids";
    1033824    "";
}