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 ID_XVOLGAS_SMOKE_CHANNEL
Element Information
Sample Code
Example code for the id ID_XVOLGAS_SMOKE_CHANNEL in Mxpgas
Note that this is not the actual code from the Mxpgas file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Mxpgas.res)
LONG ID_XVOLGAS_SMOKE_CHANNEL { CYCLE { ID_XVOLGAS_CHANNEL_NONE; ID_XVOLGAS_CHANNEL_TEMP; ID_XVOLGAS_CHANNEL_SMOKE; ID_XVOLGAS_CHANNEL_FIRE; ID_XVOLGAS_CHANNEL_FUEL; } }
Header File Code (Mxpgas.h)
#ifndef MXPGAS_H__ #define MXPGAS_H__ enum { ID_XVOLGAS_SMOKE_CHANNEL = 1000, //First ID should start at 1000 ID_XVOLGAS_CHANNEL_NONE = 1, ID_XVOLGAS_CHANNEL_TEMP = 2, ID_XVOLGAS_CHANNEL_SMOKE = 3, ID_XVOLGAS_CHANNEL_FIRE = 4, ID_XVOLGAS_CHANNEL_FUEL = 5, }; #endif // MXPGAS_H__
String File Code (Mxpgas.str)
// C4D-StringResource // Identifier Text STRINGTABLE { ID_XVOLGAS_SMOKE_CHANNEL "SmokeFrom"; ID_XVOLGAS_CHANNEL_NONE "None"; ID_XVOLGAS_CHANNEL_TEMP "Temperature"; ID_XVOLGAS_CHANNEL_SMOKE "Smoke"; ID_XVOLGAS_CHANNEL_FIRE "Fire"; ID_XVOLGAS_CHANNEL_FUEL "Fuel"; }