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 GW_AT_POS
Element Information
Sample Code
Example code for the id GW_AT_POS in Glow
Note that this is not the actual code from the Glow file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Glow.res)
LONG GW_AT_POS { PARENTID GW_AT_USE; CYCLE { GW_AT_ZBUFFER; GW_AT_3DPOS; } }
Header File Code (Glow.h)
#ifndef GLOW_H__ #define GLOW_H__ enum { GW_AT_POS = 1000, //First ID should start at 1000 GW_AT_ZBUFFER = 1, GW_AT_3DPOS = 2, }; #endif // GLOW_H__
String File Code (Glow.str)
// C4D-StringResource // Identifier Text STRINGTABLE { GW_AT_POS "DistancePosition"; GW_AT_ZBUFFER "Z-Buffer"; GW_AT_3DPOS "3DPos."; }