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 PGROUP_VIEWTYPE
Element Information
Sample Code
Example code for the id PGROUP_VIEWTYPE in TP_Group
Note that this is not the actual code from the TP_Group file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (TP_Group.res)
LONG PGROUP_VIEWTYPE { ANIM OFF; CYCLE { PG_NONE; PG_FLAKES; PG_DOTS; PG_TICKS; PG_DROPS; PG_BOX; PG_GLOBAL; } }
Header File Code (TP_Group.h)
#ifndef TP_GROUP_H__ #define TP_GROUP_H__ enum { PGROUP_VIEWTYPE = 1000, //First ID should start at 1000 PG_NONE = 1, PG_FLAKES = 2, PG_DOTS = 3, PG_TICKS = 4, PG_DROPS = 5, PG_BOX = 6, PG_GLOBAL = 7, }; #endif // TP_GROUP_H__
String File Code (TP_Group.str)
// C4D-StringResource // Identifier Text STRINGTABLE { PGROUP_VIEWTYPE "ViewType"; PG_NONE "None"; PG_FLAKES "Flakes"; PG_DOTS "Dots"; PG_TICKS "Ticks"; PG_DROPS "Drops"; PG_BOX "Box"; PG_GLOBAL "Global"; }