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 XBME_BRMESH_RESAMPLE
Element Information
Sample Code
Example code for the id XBME_BRMESH_RESAMPLE in Oxpbranchmesh
Note that this is not the actual code from the Oxpbranchmesh file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Oxpbranchmesh.res)
LONG XBME_BRMESH_RESAMPLE { CYCLE { XBME_BRMESH_RESAMPLE_NONE; XBME_BRMESH_RESAMPLE_SAMPLES; XBME_BRMESH_RESAMPLE_ABS; XBME_BRMESH_RESAMPLE_REL; } }
Header File Code (Oxpbranchmesh.h)
#ifndef OXPBRANCHMESH_H__ #define OXPBRANCHMESH_H__ enum { XBME_BRMESH_RESAMPLE = 1000, //First ID should start at 1000 XBME_BRMESH_RESAMPLE_NONE = 1, XBME_BRMESH_RESAMPLE_SAMPLES = 2, XBME_BRMESH_RESAMPLE_ABS = 3, XBME_BRMESH_RESAMPLE_REL = 4, }; #endif // OXPBRANCHMESH_H__
String File Code (Oxpbranchmesh.str)
// C4D-StringResource // Identifier Text STRINGTABLE { XBME_BRMESH_RESAMPLE "Spacing"; XBME_BRMESH_RESAMPLE_NONE "AsSpline"; XBME_BRMESH_RESAMPLE_SAMPLES "Samples"; XBME_BRMESH_RESAMPLE_ABS "Absolute"; XBME_BRMESH_RESAMPLE_REL "Relative"; }