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 XPQ_PARAMETER_PPOS
Element Information
Sample Code
Example code for the id XPQ_PARAMETER_PPOS in Oxpquestion
Note that this is not the actual code from the Oxpquestion file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Oxpquestion.res)
LONG XPQ_PARAMETER_PPOS { ANIM OFF; SCALE_H ; CUSTOMGUI CYCLE; CYCLE { XPQ_PARAM_SPLINEDIST; 1033917; XPQ_PARAM_CAMDIST; 1033918; XPQ_PARAM_OBJDIST; 1033919; XPQ_PARAM_DISTANCE; 1033939; XPQ_PARAM_ILLUM; 1033921; XPQ_PARAM_CAMFOV; 1033920; XPQ_PARAM_INVOLUME; 1034247; XPQ_PARAM_FALLOFF; 1033922; XPQ_PARAM_POS; 1033923; XPQ_PARAM_VORTEX_RADIUS; 1034246; } }
Header File Code (Oxpquestion.h)
#ifndef OXPQUESTION_H__ #define OXPQUESTION_H__ enum { XPQ_PARAMETER_PPOS = 1000, //First ID should start at 1000 XPQ_PARAM_SPLINEDIST = 1, 1033917 = 2, XPQ_PARAM_CAMDIST = 3, 1033918 = 4, XPQ_PARAM_OBJDIST = 5, 1033919 = 6, XPQ_PARAM_DISTANCE = 7, 1033939 = 8, XPQ_PARAM_ILLUM = 9, 1033921 = 10, XPQ_PARAM_CAMFOV = 11, 1033920 = 12, XPQ_PARAM_INVOLUME = 13, 1034247 = 14, XPQ_PARAM_FALLOFF = 15, 1033922 = 16, XPQ_PARAM_POS = 17, 1033923 = 18, XPQ_PARAM_VORTEX_RADIUS = 19, 1034246 = 20, }; #endif // OXPQUESTION_H__
String File Code (Oxpquestion.str)
// C4D-StringResource // Identifier Text STRINGTABLE { XPQ_PARAMETER_PPOS "ParticlePosition"; XPQ_PARAM_SPLINEDIST "DistanceAlongSpline"; 1033917 ""; XPQ_PARAM_CAMDIST "DistancetoCamera"; 1033918 ""; XPQ_PARAM_OBJDIST "DistancetoObject"; 1033919 ""; XPQ_PARAM_DISTANCE "DistanceTravelled"; 1033939 ""; XPQ_PARAM_ILLUM "Illumination"; 1033921 ""; XPQ_PARAM_CAMFOV "InCameraFOV"; 1033920 ""; XPQ_PARAM_INVOLUME "InsideVolume"; 1034247 ""; XPQ_PARAM_FALLOFF "ModifierFalloff"; 1033922 ""; XPQ_PARAM_POS "ParticlePosition"; 1033923 ""; XPQ_PARAM_VORTEX_RADIUS "VortexRadius"; 1034246 ""; }