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.
ID GI_SETUP_DATA_PRESETS
Element Information
Sample Code
Example code for the id GI_SETUP_DATA_PRESETS in VPgisetup
Note that this is not the actual code from the VPgisetup file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (VPgisetup.res)
LONG GI_SETUP_DATA_PRESETS { ANIM OFF; CYCLE { GI_SETUP_PRESET_CUSTOM; GI_SETUP_PRESET_DEFAULT; 0; GI_SETUP_PRESET_INTERIOR_PREVIEW; GI_SETUP_PRESET_INTERIOR_PREVIEW_DIFFUSE; GI_SETUP_PRESET_INTERIOR_PREVIEW_AREA; GI_SETUP_PRESET_INTERIOR_HIGH; GI_SETUP_PRESET_INTERIOR_HIGH_DIFFUSE; GI_SETUP_PRESET_INTERIOR_HIGH_AREA; 0; GI_SETUP_PRESET_EXTERIOR_PREVIEW; GI_SETUP_PRESET_EXTERIOR_SKY; GI_SETUP_PRESET_EXTERIOR_HDR; 0; GI_SETUP_PRESET_OBJECT_PREVIEW; GI_SETUP_PRESET_OBJECT_HIGH; 0; GI_SETUP_PRESET_PROGRESSIVE; GI_SETUP_PRESET_PROGRESSIVE_PREPASS; } }
Header File Code (VPgisetup.h)
#ifndef VPGISETUP_H__ #define VPGISETUP_H__ enum { GI_SETUP_DATA_PRESETS = 1000, //First ID should start at 1000 GI_SETUP_PRESET_CUSTOM = 1, GI_SETUP_PRESET_DEFAULT = 2, 0 = 3, GI_SETUP_PRESET_INTERIOR_PREVIEW = 4, GI_SETUP_PRESET_INTERIOR_PREVIEW_DIFFUSE = 5, GI_SETUP_PRESET_INTERIOR_PREVIEW_AREA = 6, GI_SETUP_PRESET_INTERIOR_HIGH = 7, GI_SETUP_PRESET_INTERIOR_HIGH_DIFFUSE = 8, GI_SETUP_PRESET_INTERIOR_HIGH_AREA = 9, 0 = 10, GI_SETUP_PRESET_EXTERIOR_PREVIEW = 11, GI_SETUP_PRESET_EXTERIOR_SKY = 12, GI_SETUP_PRESET_EXTERIOR_HDR = 13, 0 = 14, GI_SETUP_PRESET_OBJECT_PREVIEW = 15, GI_SETUP_PRESET_OBJECT_HIGH = 16, 0 = 17, GI_SETUP_PRESET_PROGRESSIVE = 18, GI_SETUP_PRESET_PROGRESSIVE_PREPASS = 19, }; #endif // VPGISETUP_H__
String File Code (VPgisetup.str)
// C4D-StringResource // Identifier Text STRINGTABLE { GI_SETUP_DATA_PRESETS "Preset"; GI_SETUP_PRESET_CUSTOM "Custom"; GI_SETUP_PRESET_DEFAULT "Default"; 0 ""; GI_SETUP_PRESET_INTERIOR_PREVIEW "Interior-Preview"; GI_SETUP_PRESET_INTERIOR_PREVIEW_DIFFUSE "Interior-Preview(HighDiffuseDepth)"; GI_SETUP_PRESET_INTERIOR_PREVIEW_AREA "Interior-Preview(SmallIlluminants)"; GI_SETUP_PRESET_INTERIOR_HIGH "Interior-High"; GI_SETUP_PRESET_INTERIOR_HIGH_DIFFUSE "Interior-High(HighDiffuseDepth)"; GI_SETUP_PRESET_INTERIOR_HIGH_AREA "Interior-High(SmallIlluminants)"; 0 ""; GI_SETUP_PRESET_EXTERIOR_PREVIEW "Exterior-Preview"; GI_SETUP_PRESET_EXTERIOR_SKY "Exterior-PhysicalSky"; GI_SETUP_PRESET_EXTERIOR_HDR "Exterior-HDRImage"; 0 ""; GI_SETUP_PRESET_OBJECT_PREVIEW "ObjectVisualization-Preview"; GI_SETUP_PRESET_OBJECT_HIGH "ObjectVisualization-High"; 0 ""; GI_SETUP_PRESET_PROGRESSIVE "Progressive-NoPrepass"; GI_SETUP_PRESET_PROGRESSIVE_PREPASS "Progressive-FastCompleteDiffuse"; }