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