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 VP_SMBSUB in VPscenemotionblur

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

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

Resource File Code (VPscenemotionblur.res)


LONG  VP_SMBSUB
{
ANIM  OFF;                          
    CYCLE 
    {         VP_SMBSUB_5; 
        VP_SMBSUB_9; 
        VP_SMBSUB_16; 
        VP_SMBSUB_25; 
        VP_SMBSUB_36; 
        VP_SMBSUB_49; 
    }
}
            

Header File Code (VPscenemotionblur.h)

#ifndef VPSCENEMOTIONBLUR_H__
#define VPSCENEMOTIONBLUR_H__
enum
{
  VP_SMBSUB = 1000,  //First ID should start at 1000
    VP_SMBSUB_5 = 1,
    VP_SMBSUB_9 = 2,
    VP_SMBSUB_16 = 3,
    VP_SMBSUB_25 = 4,
    VP_SMBSUB_36 = 5,
    VP_SMBSUB_49 = 6,
};
#endif	// VPSCENEMOTIONBLUR_H__

String File Code (VPscenemotionblur.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  VP_SMBSUB    "Samples";
    VP_SMBSUB_5    "5Times";
    VP_SMBSUB_9    "9Times";
    VP_SMBSUB_16    "16Times";
    VP_SMBSUB_25    "25Times";
    VP_SMBSUB_36    "36Times";
    VP_SMBSUB_49    "49Times";
}