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 GV_TRIGO_FUNC
Element Information
Sample Code
Example code for the id GV_TRIGO_FUNC in GVtrigo
Note that this is not the actual code from the GVtrigo file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (GVtrigo.res)
LONG GV_TRIGO_FUNC { CYCLE { TYPE_SIN; TYPE_COS; TYPE_TAN; TYPE_SINH; TYPE_COSH; TYPE_TANH; TYPE_ASIN; TYPE_ACOS; TYPE_ATAN; } }
Header File Code (GVtrigo.h)
#ifndef GVTRIGO_H__ #define GVTRIGO_H__ enum { GV_TRIGO_FUNC = 1000, //First ID should start at 1000 TYPE_SIN = 1, TYPE_COS = 2, TYPE_TAN = 3, TYPE_SINH = 4, TYPE_COSH = 5, TYPE_TANH = 6, TYPE_ASIN = 7, TYPE_ACOS = 8, TYPE_ATAN = 9, }; #endif // GVTRIGO_H__
String File Code (GVtrigo.str)
// C4D-StringResource // Identifier Text STRINGTABLE { GV_TRIGO_FUNC "Function"; TYPE_SIN "Sin"; TYPE_COS "Cos"; TYPE_TAN "Tan"; TYPE_SINH "Sinh"; TYPE_COSH "Cosh"; TYPE_TANH "Tanh"; TYPE_ASIN "ASin"; TYPE_ACOS "ACos"; TYPE_ATAN "ATan"; }