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 VDBEXPORT_NAMEFORMAT in Fvdbexport

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

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

Resource File Code (Fvdbexport.res)


LONG  VDBEXPORT_NAMEFORMAT
{
                        
    CYCLE 
    {         VDBEXPORT_NAMEFORMAT_0; 
        VDBEXPORT_NAMEFORMAT_1; 
        VDBEXPORT_NAMEFORMAT_2; 
        VDBEXPORT_NAMEFORMAT_3; 
        VDBEXPORT_NAMEFORMAT_4; 
        VDBEXPORT_NAMEFORMAT_5; 
    }
}
            

Header File Code (Fvdbexport.h)

#ifndef FVDBEXPORT_H__
#define FVDBEXPORT_H__
enum
{
  VDBEXPORT_NAMEFORMAT = 1000,  //First ID should start at 1000
    VDBEXPORT_NAMEFORMAT_0 = 1,
    VDBEXPORT_NAMEFORMAT_1 = 2,
    VDBEXPORT_NAMEFORMAT_2 = 3,
    VDBEXPORT_NAMEFORMAT_3 = 4,
    VDBEXPORT_NAMEFORMAT_4 = 5,
    VDBEXPORT_NAMEFORMAT_5 = 6,
};
#endif	// FVDBEXPORT_H__

String File Code (Fvdbexport.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  VDBEXPORT_NAMEFORMAT    "Name";
    VDBEXPORT_NAMEFORMAT_0    "Name0000.vdb";
    VDBEXPORT_NAMEFORMAT_1    "Name000.vdb";
    VDBEXPORT_NAMEFORMAT_2    "Name_0000.vdb";
    VDBEXPORT_NAMEFORMAT_3    "Name_000.vdb";
    VDBEXPORT_NAMEFORMAT_4    "Name.0000.vdb";
    VDBEXPORT_NAMEFORMAT_5    "Name.000.vdb";
}