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 FIELD_RANDOM_NOISE_MODE in Frandom

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

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

Resource File Code (Frandom.res)


LONG  FIELD_RANDOM_NOISE_MODE
{
                        
    CYCLE 
    {         FIELD_RANDOM_NOISE_MODE_BOX; 
        FIELD_RANDOM_NOISE_MODE_BLISTEREDTURBULENCE; 
        FIELD_RANDOM_NOISE_MODE_BUYA; 
        FIELD_RANDOM_NOISE_MODE_CELL; 
        FIELD_RANDOM_NOISE_MODE_CRANAL; 
        FIELD_RANDOM_NOISE_MODE_DENTS; 
        FIELD_RANDOM_NOISE_MODE_DISPLACEDTURBULENCE; 
        FIELD_RANDOM_NOISE_MODE_ELECTRIC; 
        FIELD_RANDOM_NOISE_MODE_FBM; 
        FIELD_RANDOM_NOISE_MODE_GASEOUS; 
        FIELD_RANDOM_NOISE_MODE_HAMA; 
        FIELD_RANDOM_NOISE_MODE_LUKA; 
        FIELD_RANDOM_NOISE_MODE_MODNOISE; 
        FIELD_RANDOM_NOISE_MODE_NAKI; 
        FIELD_RANDOM_NOISE_MODE_PERLIN; 
        FIELD_RANDOM_NOISE_MODE_NUTOUS; 
        FIELD_RANDOM_NOISE_MODE_OBER; 
        FIELD_RANDOM_NOISE_MODE_PEZO; 
        FIELD_RANDOM_NOISE_MODE_POXO; 
        FIELD_RANDOM_NOISE_MODE_SEMA; 
        FIELD_RANDOM_NOISE_MODE_STUPL; 
        FIELD_RANDOM_NOISE_MODE_TURBULENCE; 
        FIELD_RANDOM_NOISE_MODE_VLNOISE; 
        FIELD_RANDOM_NOISE_MODE_WAVYTURBULENCE; 
        -1; 
        FIELD_RANDOM_NOISE_MODE_CELLVORONOI; 
        FIELD_RANDOM_NOISE_MODE_DISPLACEDVORONOI; 
        FIELD_RANDOM_NOISE_MODE_VORONOI1; 
        FIELD_RANDOM_NOISE_MODE_VORONOI2; 
        FIELD_RANDOM_NOISE_MODE_VORONOI3; 
        FIELD_RANDOM_NOISE_MODE_ZADA; 
        FIELD_RANDOM_NOISE_MODE_RIDGEDMULTIFRACTAL; 
    }
}
            

Header File Code (Frandom.h)

#ifndef FRANDOM_H__
#define FRANDOM_H__
enum
{
  FIELD_RANDOM_NOISE_MODE = 1000,  //First ID should start at 1000
    FIELD_RANDOM_NOISE_MODE_BOX = 1,
    FIELD_RANDOM_NOISE_MODE_BLISTEREDTURBULENCE = 2,
    FIELD_RANDOM_NOISE_MODE_BUYA = 3,
    FIELD_RANDOM_NOISE_MODE_CELL = 4,
    FIELD_RANDOM_NOISE_MODE_CRANAL = 5,
    FIELD_RANDOM_NOISE_MODE_DENTS = 6,
    FIELD_RANDOM_NOISE_MODE_DISPLACEDTURBULENCE = 7,
    FIELD_RANDOM_NOISE_MODE_ELECTRIC = 8,
    FIELD_RANDOM_NOISE_MODE_FBM = 9,
    FIELD_RANDOM_NOISE_MODE_GASEOUS = 10,
    FIELD_RANDOM_NOISE_MODE_HAMA = 11,
    FIELD_RANDOM_NOISE_MODE_LUKA = 12,
    FIELD_RANDOM_NOISE_MODE_MODNOISE = 13,
    FIELD_RANDOM_NOISE_MODE_NAKI = 14,
    FIELD_RANDOM_NOISE_MODE_PERLIN = 15,
    FIELD_RANDOM_NOISE_MODE_NUTOUS = 16,
    FIELD_RANDOM_NOISE_MODE_OBER = 17,
    FIELD_RANDOM_NOISE_MODE_PEZO = 18,
    FIELD_RANDOM_NOISE_MODE_POXO = 19,
    FIELD_RANDOM_NOISE_MODE_SEMA = 20,
    FIELD_RANDOM_NOISE_MODE_STUPL = 21,
    FIELD_RANDOM_NOISE_MODE_TURBULENCE = 22,
    FIELD_RANDOM_NOISE_MODE_VLNOISE = 23,
    FIELD_RANDOM_NOISE_MODE_WAVYTURBULENCE = 24,
    -1 = 25,
    FIELD_RANDOM_NOISE_MODE_CELLVORONOI = 26,
    FIELD_RANDOM_NOISE_MODE_DISPLACEDVORONOI = 27,
    FIELD_RANDOM_NOISE_MODE_VORONOI1 = 28,
    FIELD_RANDOM_NOISE_MODE_VORONOI2 = 29,
    FIELD_RANDOM_NOISE_MODE_VORONOI3 = 30,
    FIELD_RANDOM_NOISE_MODE_ZADA = 31,
    FIELD_RANDOM_NOISE_MODE_RIDGEDMULTIFRACTAL = 32,
};
#endif	// FRANDOM_H__

String File Code (Frandom.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  FIELD_RANDOM_NOISE_MODE    "NoiseType";
    FIELD_RANDOM_NOISE_MODE_BOX    "Box";
    FIELD_RANDOM_NOISE_MODE_BLISTEREDTURBULENCE    "BlisteredTurbulence";
    FIELD_RANDOM_NOISE_MODE_BUYA    "Buya";
    FIELD_RANDOM_NOISE_MODE_CELL    "Cell";
    FIELD_RANDOM_NOISE_MODE_CRANAL    "Cranal";
    FIELD_RANDOM_NOISE_MODE_DENTS    "Dents";
    FIELD_RANDOM_NOISE_MODE_DISPLACEDTURBULENCE    "DisplacedTurbulence";
    FIELD_RANDOM_NOISE_MODE_ELECTRIC    "Electric";
    FIELD_RANDOM_NOISE_MODE_FBM    "FBM";
    FIELD_RANDOM_NOISE_MODE_GASEOUS    "Gaseous";
    FIELD_RANDOM_NOISE_MODE_HAMA    "Hama";
    FIELD_RANDOM_NOISE_MODE_LUKA    "Luka";
    FIELD_RANDOM_NOISE_MODE_MODNOISE    "Mod.Noise";
    FIELD_RANDOM_NOISE_MODE_NAKI    "Naki";
    FIELD_RANDOM_NOISE_MODE_PERLIN    "Perlin";
    FIELD_RANDOM_NOISE_MODE_NUTOUS    "Nutous";
    FIELD_RANDOM_NOISE_MODE_OBER    "Ober";
    FIELD_RANDOM_NOISE_MODE_PEZO    "Pezo";
    FIELD_RANDOM_NOISE_MODE_POXO    "Poxo";
    FIELD_RANDOM_NOISE_MODE_SEMA    "Sema";
    FIELD_RANDOM_NOISE_MODE_STUPL    "Stupl";
    FIELD_RANDOM_NOISE_MODE_TURBULENCE    "Turbulence";
    FIELD_RANDOM_NOISE_MODE_VLNOISE    "VLNoise";
    FIELD_RANDOM_NOISE_MODE_WAVYTURBULENCE    "WavyTurbulence";
    -1    "";
    FIELD_RANDOM_NOISE_MODE_CELLVORONOI    "CellVoronoi";
    FIELD_RANDOM_NOISE_MODE_DISPLACEDVORONOI    "DisplacedVoronoi";
    FIELD_RANDOM_NOISE_MODE_VORONOI1    "Voronoi1";
    FIELD_RANDOM_NOISE_MODE_VORONOI2    "Voronoi2";
    FIELD_RANDOM_NOISE_MODE_VORONOI3    "Voronoi3";
    FIELD_RANDOM_NOISE_MODE_ZADA    "Zada";
    FIELD_RANDOM_NOISE_MODE_RIDGEDMULTIFRACTAL    "RidgedMultifractal";
}