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 MGRANDOMEFFECTOR_SPACE
Element Information
Sample Code
Example code for the id MGRANDOMEFFECTOR_SPACE in Oerandomize
Note that this is not the actual code from the Oerandomize file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Oerandomize.res)
LONG MGRANDOMEFFECTOR_SPACE { CYCLE { MGRANDOMEFFECTOR_SPACE_GLOBAL; MGRANDOMEFFECTOR_SPACE_OBJECT; } }
Header File Code (Oerandomize.h)
#ifndef OERANDOMIZE_H__ #define OERANDOMIZE_H__ enum { MGRANDOMEFFECTOR_SPACE = 1000, //First ID should start at 1000 MGRANDOMEFFECTOR_SPACE_GLOBAL = 1, MGRANDOMEFFECTOR_SPACE_OBJECT = 2, }; #endif // OERANDOMIZE_H__
String File Code (Oerandomize.str)
// C4D-StringResource // Identifier Text STRINGTABLE { MGRANDOMEFFECTOR_SPACE "Space"; MGRANDOMEFFECTOR_SPACE_GLOBAL "Global"; MGRANDOMEFFECTOR_SPACE_OBJECT "UV"; }