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 OUTLINEMAT_START
Element Information
Sample Code
Example code for the id OUTLINEMAT_START in Moutliner
Note that this is not the actual code from the Moutliner file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Moutliner.res)
LONG OUTLINEMAT_START { CYCLE { OUTLINEMAT_START_SCREEN; OUTLINEMAT_START_OBJECT; OUTLINEMAT_START_RANDOM; OUTLINEMAT_START_MESH; OUTLINEMAT_START_LEFTMOST; OUTLINEMAT_START_TOPMOST; OUTLINEMAT_START_RIGHTMOST; OUTLINEMAT_START_BOTTOMMOST; OUTLINEMAT_START_OUTMOST; OUTLINEMAT_START_INMOST; } }
Header File Code (Moutliner.h)
#ifndef MOUTLINER_H__ #define MOUTLINER_H__ enum { OUTLINEMAT_START = 1000, //First ID should start at 1000 OUTLINEMAT_START_SCREEN = 1, OUTLINEMAT_START_OBJECT = 2, OUTLINEMAT_START_RANDOM = 3, OUTLINEMAT_START_MESH = 4, OUTLINEMAT_START_LEFTMOST = 5, OUTLINEMAT_START_TOPMOST = 6, OUTLINEMAT_START_RIGHTMOST = 7, OUTLINEMAT_START_BOTTOMMOST = 8, OUTLINEMAT_START_OUTMOST = 9, OUTLINEMAT_START_INMOST = 10, }; #endif // MOUTLINER_H__
String File Code (Moutliner.str)
// C4D-StringResource // Identifier Text STRINGTABLE { OUTLINEMAT_START "Start"; OUTLINEMAT_START_SCREEN "Screen"; OUTLINEMAT_START_OBJECT "Object"; OUTLINEMAT_START_RANDOM "Random"; OUTLINEMAT_START_MESH "Mesh"; OUTLINEMAT_START_LEFTMOST "Left"; OUTLINEMAT_START_TOPMOST "Top"; OUTLINEMAT_START_RIGHTMOST "Right"; OUTLINEMAT_START_BOTTOMMOST "Bottom"; OUTLINEMAT_START_OUTMOST "Outer"; OUTLINEMAT_START_INMOST "Inner"; }