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 XPSQ_PARAMETER_PPOS in Oxpsubquestion

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

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

Resource File Code (Oxpsubquestion.res)


LONG  XPSQ_PARAMETER_PPOS
{
ANIM  OFF;  SCALE_H  ;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         XPSQ_PARAM_SPLINEDIST; 
        1033917; 
        XPSQ_PARAM_CAMDIST; 
        1033918; 
        XPSQ_PARAM_OBJDIST; 
        1033919; 
        XPSQ_PARAM_DISTANCE; 
        1033939; 
        XPSQ_PARAM_CAMFOV; 
        1033920; 
        XPSQ_PARAM_INVOLUME; 
        1034247; 
        XPSQ_PARAM_ILLUM; 
        1033921; 
        XPSQ_PARAM_FALLOFF; 
        1033922; 
        XPSQ_PARAM_POS; 
        1033923; 
        XPSQ_PARAM_VORTEX_RADIUS; 
        1034246; 
    }
}
            

Header File Code (Oxpsubquestion.h)

#ifndef OXPSUBQUESTION_H__
#define OXPSUBQUESTION_H__
enum
{
  XPSQ_PARAMETER_PPOS = 1000,  //First ID should start at 1000
    XPSQ_PARAM_SPLINEDIST = 1,
    1033917 = 2,
    XPSQ_PARAM_CAMDIST = 3,
    1033918 = 4,
    XPSQ_PARAM_OBJDIST = 5,
    1033919 = 6,
    XPSQ_PARAM_DISTANCE = 7,
    1033939 = 8,
    XPSQ_PARAM_CAMFOV = 9,
    1033920 = 10,
    XPSQ_PARAM_INVOLUME = 11,
    1034247 = 12,
    XPSQ_PARAM_ILLUM = 13,
    1033921 = 14,
    XPSQ_PARAM_FALLOFF = 15,
    1033922 = 16,
    XPSQ_PARAM_POS = 17,
    1033923 = 18,
    XPSQ_PARAM_VORTEX_RADIUS = 19,
    1034246 = 20,
};
#endif	// OXPSUBQUESTION_H__

String File Code (Oxpsubquestion.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XPSQ_PARAMETER_PPOS    "ParticlePositions";
    XPSQ_PARAM_SPLINEDIST    "DistanceAlongSpline";
    1033917    "";
    XPSQ_PARAM_CAMDIST    "DistancetoCamera";
    1033918    "";
    XPSQ_PARAM_OBJDIST    "DistancetoObject";
    1033919    "";
    XPSQ_PARAM_DISTANCE    "DistanceTravelled";
    1033939    "";
    XPSQ_PARAM_CAMFOV    "InCameraFOV";
    1033920    "";
    XPSQ_PARAM_INVOLUME    "InsideVolume";
    1034247    "";
    XPSQ_PARAM_ILLUM    "Illumination";
    1033921    "";
    XPSQ_PARAM_FALLOFF    "ModifierFalloff";
    1033922    "";
    XPSQ_PARAM_POS    "ParticlePosition";
    1033923    "";
    XPSQ_PARAM_VORTEX_RADIUS    "VortexRadius";
    1034246    "";
}