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 GV_SOUND_FFT_RES in GVsound

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

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

Resource File Code (GVsound.res)


LONG  GV_SOUND_FFT_RES
{
                        
    CYCLE 
    {         GV_SOUND_FFT_RES_4; 
        GV_SOUND_FFT_RES_8; 
        GV_SOUND_FFT_RES_16; 
        GV_SOUND_FFT_RES_32; 
        GV_SOUND_FFT_RES_64; 
        GV_SOUND_FFT_RES_128; 
        GV_SOUND_FFT_RES_256; 
        GV_SOUND_FFT_RES_512; 
        GV_SOUND_FFT_RES_1024; 
        GV_SOUND_FFT_RES_2048; 
        GV_SOUND_FFT_RES_4096; 
        GV_SOUND_FFT_RES_8192; 
    }
}
            

Header File Code (GVsound.h)

#ifndef GVSOUND_H__
#define GVSOUND_H__
enum
{
  GV_SOUND_FFT_RES = 1000,  //First ID should start at 1000
    GV_SOUND_FFT_RES_4 = 1,
    GV_SOUND_FFT_RES_8 = 2,
    GV_SOUND_FFT_RES_16 = 3,
    GV_SOUND_FFT_RES_32 = 4,
    GV_SOUND_FFT_RES_64 = 5,
    GV_SOUND_FFT_RES_128 = 6,
    GV_SOUND_FFT_RES_256 = 7,
    GV_SOUND_FFT_RES_512 = 8,
    GV_SOUND_FFT_RES_1024 = 9,
    GV_SOUND_FFT_RES_2048 = 10,
    GV_SOUND_FFT_RES_4096 = 11,
    GV_SOUND_FFT_RES_8192 = 12,
};
#endif	// GVSOUND_H__

String File Code (GVsound.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  GV_SOUND_FFT_RES    "Bands";
    GV_SOUND_FFT_RES_4    "4";
    GV_SOUND_FFT_RES_8    "8";
    GV_SOUND_FFT_RES_16    "16";
    GV_SOUND_FFT_RES_32    "32";
    GV_SOUND_FFT_RES_64    "64";
    GV_SOUND_FFT_RES_128    "128";
    GV_SOUND_FFT_RES_256    "256";
    GV_SOUND_FFT_RES_512    "512";
    GV_SOUND_FFT_RES_1024    "1024";
    GV_SOUND_FFT_RES_2048    "2048";
    GV_SOUND_FFT_RES_4096    "4096";
    GV_SOUND_FFT_RES_8192    "8192";
}