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_VS_TAG_ASPECT
Element Information
Sample Code
Example code for the id ID_VS_TAG_ASPECT in vstag
Note that this is not the actual code from the vstag file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (vstag.res)
LONG ID_VS_TAG_ASPECT { CYCLE { ID_VS_TAG_ASPECT_11; ID_VS_TAG_ASPECT_43; ID_VS_TAG_ASPECT_34; ID_VS_TAG_ASPECT_169; } }
Header File Code (vstag.h)
#ifndef VSTAG_H__ #define VSTAG_H__ enum { ID_VS_TAG_ASPECT = 1000, //First ID should start at 1000 ID_VS_TAG_ASPECT_11 = 1, ID_VS_TAG_ASPECT_43 = 2, ID_VS_TAG_ASPECT_34 = 3, ID_VS_TAG_ASPECT_169 = 4, }; #endif // VSTAG_H__
String File Code (vstag.str)
// C4D-StringResource // Identifier Text STRINGTABLE { ID_VS_TAG_ASPECT "AspectRatio"; ID_VS_TAG_ASPECT_11 "1/1"; ID_VS_TAG_ASPECT_43 "4/3"; ID_VS_TAG_ASPECT_34 "3/4"; ID_VS_TAG_ASPECT_169 "16/9"; }