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_TPPRIORITY
Element Information
Sample Code
Example code for the id MGMATRIXOBJECT_TPPRIORITY 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_TPPRIORITY { CYCLE { MGMATRIXOBJECT_TPPRIORITY_BEFORE; MGMATRIXOBJECT_TPPRIORITY_AFTER; } }
Header File Code (Omograph_matrix.h)
#ifndef OMOGRAPH_MATRIX_H__ #define OMOGRAPH_MATRIX_H__ enum { MGMATRIXOBJECT_TPPRIORITY = 1000, //First ID should start at 1000 MGMATRIXOBJECT_TPPRIORITY_BEFORE = 1, MGMATRIXOBJECT_TPPRIORITY_AFTER = 2, }; #endif // OMOGRAPH_MATRIX_H__
String File Code (Omograph_matrix.str)
// C4D-StringResource // Identifier Text STRINGTABLE { MGMATRIXOBJECT_TPPRIORITY "ParticlePriority"; MGMATRIXOBJECT_TPPRIORITY_BEFORE "BeforeEffectors"; MGMATRIXOBJECT_TPPRIORITY_AFTER "AfterEffectors"; }