Oxpquestion
Attributes
-
ENGLISH NAME : X-ParticlesQuestionObject
-
NAME : Oxpquestion
-
INCLUDE : Obase
-
PATH : res/description/oxpquestion.res
-
PLUGIN : X-Particles
-
MAXON online help (may not exist): OXPQUESTION
Elements
ID |
UI Name |
Type |
Parameters |
Cycle |
XPQ_PARAMETER |
|
LONG
|
HIDDEN |
|
XPQ_PARAMETER_SAVED |
|
LONG
|
HIDDEN |
|
XPQ_PARAMETER_TYPE |
QuestionType |
LONG
|
ANIM |
OFF |
SCALE_H |
|
CUSTOMGUI |
CYCLE |
|
XPQ_PARAM_TYPE_PDAT |
ParticleData |
XPQ_PARAM_TYPE_PPOS |
ParticlePosition |
XPQ_PARAM_TYPE_PFLAGS |
ParticleFlags |
XPQ_PARAM_TYPE_GEOM |
Geometry |
XPQ_PARAM_TYPE_PHYS |
PhysicalData |
XPQ_PARAM_TYPE_OTHER |
Other |
|
XPQ_PARAMETER_PDAT |
ParticleData |
LONG
|
ANIM |
OFF |
SCALE_H |
|
CUSTOMGUI |
CYCLE |
|
XPQ_PARAM_AGE |
Age |
1033908 |
|
XPQ_PARAM_COLOR |
Color |
1033909 |
|
XPQ_PARAM_GROUP |
Group |
1033910 |
|
XPQ_PARAM_INDEX |
Index |
1033911 |
|
XPQ_PARAM_RADIUS |
Radius |
1033914 |
|
XPQ_PARAM_ROTATE |
Rotation |
1034248 |
|
XPQ_PARAM_SCALE |
Scale |
1033915 |
|
XPQ_PARAM_SPEED |
Speed |
1033916 |
|
|
XPQ_PARAMETER_PPOS |
ParticlePosition |
LONG
|
ANIM |
OFF |
SCALE_H |
|
CUSTOMGUI |
CYCLE |
|
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 |
|
|
XPQ_PARAMETER_PFLAGS |
ParticleFlags |
LONG
|
ANIM |
OFF |
SCALE_H |
|
CUSTOMGUI |
CYCLE |
|
XPQ_PARAM_COLLIDED |
ParticleCollided |
1033924 |
|
XPQ_PARAM_EXPLODED |
HasExploded |
1033925 |
|
XPQ_PARAM_FROZEN |
ParticleFrozen |
1033926 |
|
XPQ_PARAM_ISSTUCK |
ParticleStickQuestion |
1033927 |
|
XPQ_PARAM_SNAPPED |
Snapped(InheritanceMod.) |
1034249 |
|
XPQ_PARAM_STUCKSOURCE |
StucktoSourceObject |
1033928 |
|
|
XPQ_PARAMETER_GEOM |
Geometry |
LONG
|
ANIM |
OFF |
SCALE_H |
|
CUSTOMGUI |
CYCLE |
|
XPQ_PARAM_BRANCH |
Branching |
1033929 |
|
XPQ_PARAM_GENOBJ |
GeneratedObject |
1033930 |
|
XPQ_PARAM_MORPH |
MorphValue |
1033931 |
|
XPQ_PARAM_TRAIL |
ParticleTrail |
1033932 |
|
|
XPQ_PARAMETER_PHYS |
PhysicalData |
LONG
|
ANIM |
OFF |
SCALE_H |
|
CUSTOMGUI |
CYCLE |
|
XPQ_PARAM_BURN |
Fire |
1034513 |
|
XPQ_PARAM_FUEL |
Fuel |
1034514 |
|
XPQ_PARAM_MASS |
Mass |
1033912 |
|
XPQ_PARAM_SMOKE |
Smoke |
1034515 |
|
XPQ_PARAM_TEMP |
Temperature |
1034516 |
|
|
XPQ_PARAMETER_OTHER |
Other |
LONG
|
ANIM |
OFF |
SCALE_H |
|
CUSTOMGUI |
CYCLE |
|
XPQ_PARAM_BOOLEAN |
BooleanInput |
1033933 |
|
XPQ_PARAM_FRAME |
CurrentTime |
1033934 |
|
XPQ_PARAM_COUNT |
ParticleCount |
1033935 |
|
XPQ_PARAM_PYTHON |
PythonScript |
1033936 |
|
XPQ_PARAM_PROB |
RandomProbability |
1033937 |
|
XPQ_PARAM_COLLCOUNT |
NumberofCollisions |
1033938 |
|
|
XPQ_PARAM_PYTHON_SCRIPT |
Script |
STRING
|
CUSTOMGUI |
MULTISTRING |
ANIM |
OFF |
PYTHON |
|
SCALE_V |
|
|
|
XPQ_PARAM_PYTHON_OPENEDITOR |
OpenEditor... |
BUTTON
|
|
|
XPQ_PARAM_INVOLUME_MODE |
Mode |
LONG
|
|
XPQ_PARAM_INVOLUME_MODE_ISIN |
ParticleisInsideVolume |
XPQ_PARAM_INVOLUME_MODE_ISOUT |
ParticleisOutsideVolume |
|
XPQ_PARAM_INVOLUME_LINK |
Object |
LINK
|
|
|
XPQ_PARAM_AGE_MODE |
Mode |
LONG
|
|
XPQ_PARAM_AGE_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_AGE_MODE_EQUALS |
Equals |
XPQ_PARAM_AGE_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_AGE_MODE_NEARDEATH |
IsWithinTimeofDeath |
XPQ_PARAM_AGE_MODE_INRANGE |
IsinRange |
XPQ_PARAM_AGE_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_AGE_VALUE |
Age |
BASETIME
|
|
|
XPQ_PARAM_AGE_RANGE |
Range |
BASETIME
|
|
|
XPQ_PARAM_FRAME_MODE |
Mode |
LONG
|
|
XPQ_PARAM_FRAME_MODE_EQUALS |
Equals |
XPQ_PARAM_FRAME_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_FRAME_MODE_INRANGE |
IsinRange |
XPQ_PARAM_FRAME_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_FRAME_VALUE |
Time |
BASETIME
|
|
|
XPQ_PARAM_FRAME_RANGE |
Range |
BASETIME
|
|
|
XPQ_PARAM_SPEED_MODE |
Mode |
LONG
|
|
XPQ_PARAM_SPEED_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_SPEED_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_SPEED_MODE_INRANGE |
IsinRange |
XPQ_PARAM_SPEED_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_SPEED_VALUE |
Speed |
REAL
|
STEP |
1.0 |
UNIT |
METER |
MIN |
0.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
500.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_SPEED_RANGE |
Range |
REAL
|
STEP |
1.0 |
UNIT |
METER |
MIN |
0.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
500.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_COUNT_MODE |
Mode |
LONG
|
|
XPQ_PARAM_COUNT_MODE_EXCEEDS |
Exceeds |
XPQ_PARAM_COUNT_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_COUNT_MODE_INRANGE |
IsinRange |
XPQ_PARAM_COUNT_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_COUNT_VALUE |
ParticleCount |
LONG
|
MIN |
0 |
STEP |
1 |
MINSLIDER |
0 |
MAXSLIDER |
5000 |
CUSTOMGUI |
LONGSLIDER |
|
|
XPQ_PARAM_COUNT_RANGE |
Range |
LONG
|
MIN |
0 |
STEP |
1 |
MINSLIDER |
0 |
MAXSLIDER |
5000 |
CUSTOMGUI |
LONGSLIDER |
|
|
XPQ_PARAM_INDEX_MODE |
Mode |
LONG
|
|
XPQ_PARAM_INDEX_MODE_EQUALS |
Equals |
XPQ_PARAM_INDEX_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_INDEX_MODE_INRANGE |
IsinRange |
XPQ_PARAM_INDEX_MODE_NOTINRANGE |
IsNotinRange |
XPQ_PARAM_INDEX_MODE_EVEN |
Even-NumberedParticles |
XPQ_PARAM_INDEX_MODE_ODD |
Odd-NumberedParticles |
|
XPQ_PARAM_INDEX_VALUE |
ParticleIndex |
LONG
|
MIN |
1 |
STEP |
1 |
MINSLIDER |
1 |
MAXSLIDER |
10000 |
CUSTOMGUI |
LONGSLIDER |
|
|
XPQ_PARAM_INDEX_RANGE |
Range |
LONG
|
MIN |
1 |
STEP |
1 |
MINSLIDER |
1 |
MAXSLIDER |
10000 |
CUSTOMGUI |
LONGSLIDER |
|
|
XPQ_PARAM_GROUP_MODE |
Mode |
LONG
|
|
XPQ_PARAM_GROUP_INGROUP |
IsinParticleGroup |
XPQ_PARAM_GROUP_NOTINGROUP |
IsNotinParticleGroup |
|
XPQ_PARAM_GROUP_GROUPS |
Groups |
IN_EXCLUDE
|
NUM_FLAGS |
2 |
INIT_STATE |
3 |
SEND_SELCHNGMSG |
1 |
SCALE_V |
|
IMAGE_01_ON |
1009316 |
IMAGE_01_OFF |
1009320 |
IMAGE_02_ON |
300000231 |
IMAGE_02_OFF |
300000230 |
|
|
XPQ_PARAM_DISTANCE_MODE |
Mode |
LONG
|
|
XPQ_PARAM_DISTANCE_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_DISTANCE_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_DISTANCE_MODE_INRANGE |
IsinRange |
XPQ_PARAM_DISTANCE_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_DISTANCE_VALUE |
Distance |
REAL
|
UNIT |
METER |
MIN |
0.0 |
STEP |
1.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
1000.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_DISTANCE_RANGE |
Range |
REAL
|
UNIT |
METER |
MIN |
0.0 |
STEP |
1.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
1000.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_BRANCH_TYPE |
QuestionType |
LONG
|
|
XPQ_PARAM_BRANCH_TYPE_FRAMEAGE |
BranchLength(inFrames) |
XPQ_PARAM_BRANCH_TYPE_BLEVEL |
BranchLevel |
XPQ_PARAM_BRANCH_TYPE_MAXLEN |
Max.Length(inFrames) |
XPQ_PARAM_BRANCH_TYPE_BCOUNT |
NumberofBranches |
|
XPQ_PARAM_BRANCH_MODE |
Mode |
LONG
|
|
XPQ_PARAM_BRANCH_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_BRANCH_MODE_EQUALS |
Equals |
XPQ_PARAM_BRANCH_MODE_EXCEEDS |
IsGreaterThan |
|
XPQ_PARAM_BRANCH_VALUE |
ValuetoTest |
LONG
|
MIN |
0 |
MINSLIDER |
0 |
MAXSLIDER |
100 |
CUSTOMGUI |
LONGSLIDER |
|
|
XPQ_PARAM_POS_TYPE |
PositionSpace |
LONG
|
|
XPQ_PARAM_POS_TYPE_GLOBAL |
World |
XPQ_PARAM_POS_TYPE_OBJECT |
Object |
|
XPQ_PARAM_POS_LINK |
Object |
LINK
|
|
|
XPQ_PARAM_POS_AXIS |
Axis |
LONG
|
|
XPQ_PARAM_POS_AXIS_X |
X |
XPQ_PARAM_POS_AXIS_Y |
Y |
XPQ_PARAM_POS_AXIS_Z |
Z |
|
XPQ_PARAM_POS_MODE |
Mode |
LONG
|
|
XPQ_PARAM_POS_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_POS_MODE_EXCEEDS |
IsGreaterThan |
|
XPQ_PARAM_POS_VALUE |
Distance |
REAL
|
UNIT |
METER |
MIN |
-2000.0 |
MINSLIDER |
-2000.0 |
MAXSLIDER |
2000.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_FALLOFF_LINK |
Modifier |
LINK
|
|
|
XPQ_PARAM_FALLOFF_MODE |
Mode |
LONG
|
|
XPQ_PARAM_FALLOFF_MODE_IN |
ParticleWithinFalloff |
XPQ_PARAM_FALLOFF_MODE_OUT |
ParticleOutsideFalloff |
XPQ_PARAM_FALLOFF_MODE_MORETHAN |
Falloff> |
XPQ_PARAM_FALLOFF_MODE_LESSTHAN |
Falloff< |
XPQ_PARAM_FALLOFF_MODE_RANGE |
InRange |
|
XPQ_PARAM_FALLOFF_LOWVALUE |
LowFalloffValue |
REAL
|
UNIT |
PERCENT |
MIN |
0.0 |
MAX |
100.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
100.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_FALLOFF_HIGHVALUE |
HighFalloffValue |
REAL
|
UNIT |
PERCENT |
MIN |
0.0 |
MAX |
100.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
100.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_FALLOFF_PROB |
Weighting |
REAL
|
UNIT |
PERCENT |
MIN |
0.0 |
MAX |
100.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
100.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_CAMDIST_MODE |
Mode |
LONG
|
|
XPQ_PARAM_CAMDIST_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_CAMDIST_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_CAMDIST_MODE_INRANGE |
IsinRange |
XPQ_PARAM_CAMDIST_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_CAMDIST_VALUE |
Distance |
REAL
|
UNIT |
METER |
MIN |
0.0 |
STEP |
1.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
5000.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_CAMDIST_RANGE |
Range |
REAL
|
UNIT |
METER |
MIN |
0.0 |
STEP |
1.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
5000.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_CAMFOV_MODE |
Mode |
LONG
|
|
XPQ_PARAM_CAMFOV_MODE_ISINFOV |
ParticleisinCameraFOV |
XPQ_PARAM_CAMFOV_MODE_ISNOTINFOV |
ParticleisNOTinCameraFOV |
|
XPQ_PARAM_PROB_SEED |
RandomSeed |
LONG
|
|
|
XPQ_PARAM_PROB_PROBABILITY |
Probability |
REAL
|
UNIT |
PERCENT |
MIN |
0.0 |
MAX |
100.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
100.0 |
STEP |
1.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_FROZEN_OPERATION |
Operation |
LONG
|
|
XPQ_FROZEN_MATCH_ANY |
MatchAny |
XPQ_FROZEN_MATCH_EXACT |
MatchExact |
|
XPQ_PARAM_FROZEN_MOVE |
FrozenMovement |
BOOL
|
|
|
XPQ_PARAM_FROZEN_SPIN |
FrozenSpin |
BOOL
|
|
|
XPQ_PARAM_FROZEN_SCALE |
FrozenScale |
BOOL
|
|
|
XPQ_PARAM_COLLIDED_CLEAR |
ClearCollisionFlag |
BOOL
|
|
|
XPQ_PARAM_TRAIL_LEN |
TrailLength |
LONG
|
|
XPQ_TRAIL_MAXLEN |
TrailisatMax.Length |
XPQ_TRAIL_ZEROLEN |
TrailHasZeroLength |
XPQ_TRAIL_LESSTHANMAX |
TrailisLessThanMax.Length |
|
XPQ_PARAM_MORPH_MODE |
Mode |
LONG
|
|
XPQ_MORPH_MODE_ATMAX |
MorphatMaximum |
XPQ_MORPH_MODE_VALUE_HIGHER |
MorphValueHigherThan |
XPQ_MORPH_MODE_VALUE_EQUALS |
MorphValueEquals |
XPQ_MORPH_MODE_VALUE_LOWER |
MorphValueLessThan |
|
XPQ_PARAM_MORPH_VALUE |
MorphValue |
REAL
|
UNIT |
PERCENT |
STEP |
1.0 |
MIN |
-100.0 |
MAX |
100.0 |
MINSLIDER |
-100.0 |
MAXSLIDER |
100.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_BOOLEAN_MODE |
Mode |
LONG
|
|
XPQ_BOOLEAN_MODE_ISTRUE |
InputisTRUE |
XPQ_BOOLEAN_MODE_ISFALSE |
InputisFALSE |
|
XPQ_PARAM_BOOLEAN_VALUE |
InputValue |
BOOL
|
|
|
XPQ_PARAM_OBJDIST_MODE |
Mode |
LONG
|
|
XPQ_PARAM_OBJDIST_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_OBJDIST_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_OBJDIST_MODE_INRANGE |
IninRange |
XPQ_PARAM_OBJDIST_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_OBJDIST_LINK |
Object |
LINK
|
|
|
XPQ_PARAM_OBJDIST_VALUE |
Distance |
REAL
|
UNIT |
METER |
MIN |
0.0 |
STEP |
1.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
5000.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_OBJDIST_RANGE |
Range |
REAL
|
UNIT |
METER |
MIN |
0.0 |
STEP |
1.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
5000.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_SPLINEDIST_TYPE |
Parameter |
LONG
|
|
SPLINEDIST_TYPE_END |
ReachedEndofSpline |
SPLINEDIST_TYPE_START |
ReachedStartofSpline |
SPLINEDIST_TYPE_DISTANCE |
DistanceAlongSpline |
SPLINEDIST_TYPE_LOOPS |
NumberofLoops |
|
XPQ_PARAM_SPLINEDIST_MODE |
Mode |
LONG
|
|
SPLINEDIST_MODE_LESSTHAN |
IsLessThan |
SPLINEDIST_MODE_EXCEEDS |
IsGreaterThan |
|
XPQ_PARAM_SPLINEDIST_DIST |
Distance |
REAL
|
UNIT |
PERCENT |
MIN |
0.0 |
MAX |
100.0 |
STEP |
1.0 |
|
|
XPQ_PARAM_SPLINEDIST_LOOPS |
Loops |
REAL
|
UNIT |
REAL |
MIN |
0.0 |
STEP |
0.1 |
|
|
XPQ_PARAM_ILLUM_MODE |
Mode |
LONG
|
|
XPQ_PARAM_ILLUM_MODE_POS |
Illuminated |
XPQ_PARAM_ILLUM_MODE_NEG |
NotIlluminated |
|
XPQ_PARAM_ILLUM_LINK |
Light |
LINK
|
|
|
XPQ_PARAM_ILLUM_FALLOFF |
UseFalloff |
BOOL
|
|
|
XPQ_PARAM_ILLUM_THRESHOLD |
IlluminationThreshold |
REAL
|
UNIT |
PERCENT |
MIN |
0.0 |
MAX |
100000.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
100.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_COLOR_TYPE |
ComponenttoTest |
LONG
|
|
XPQ_PARAM_COLOR_TYPE_RGB |
RGB(Brightness) |
XPQ_PARAM_COLOR_TYPE_R |
RedOnly |
XPQ_PARAM_COLOR_TYPE_G |
GreenOnly |
XPQ_PARAM_COLOR_TYPE_B |
BlueOnly |
XPQ_PARAM_COLOR_TYPE_RG |
RedandGreen |
XPQ_PARAM_COLOR_TYPE_RB |
RedandBlue |
XPQ_PARAM_COLOR_TYPE_GB |
GreenandBlue |
|
XPQ_PARAM_COLOR_MODE |
Mode |
LONG
|
|
XPQ_PARAM_COLOR_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_COLOR_MODE_EQUALS |
Equals |
XPQ_PARAM_COLOR_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_COLOR_MODE_INRANGE |
IsinRange |
XPQ_PARAM_COLOR_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_COLOR_VALUE |
ComponentValues |
COLOR
|
|
|
XPQ_PARAM_COLOR_RANGE |
Range |
COLOR
|
|
|
XPQ_PARAM_BURN_MODE |
Mode |
LONG
|
|
XPQ_PARAM_BURN_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_BURN_MODE_EQUALS |
Equals |
XPQ_PARAM_BURN_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_BURN_MODE_INRANGE |
IsinRange |
XPQ_PARAM_BURN_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_BURN_VALUE |
FireValue |
REAL
|
UNIT |
REAL |
MIN |
0.0 |
STEP |
0.1 |
MAX |
100000.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
10.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_BURN_RANGE |
Range |
REAL
|
UNIT |
REAL |
MIN |
0.0 |
STEP |
0.1 |
MAX |
100000.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
10.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_FUEL_MODE |
Mode |
LONG
|
|
XPQ_PARAM_FUEL_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_FUEL_MODE_EQUALS |
Equals |
XPQ_PARAM_FUEL_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_FUEL_MODE_INRANGE |
IsinRange |
XPQ_PARAM_FUEL_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_FUEL_VALUE |
FuelValue |
REAL
|
UNIT |
REAL |
MIN |
0.0 |
STEP |
0.1 |
MAX |
100000.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
10.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_FUEL_RANGE |
Range |
REAL
|
UNIT |
REAL |
MIN |
0.0 |
STEP |
0.1 |
MAX |
100000.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
10.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_MASS_MODE |
Mode |
LONG
|
|
XPQ_PARAM_MASS_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_MASS_MODE_EQUALS |
Equals |
XPQ_PARAM_MASS_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_MASS_MODE_INRANGE |
IsinRange |
XPQ_PARAM_MASS_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_MASS_VALUE |
Mass |
REAL
|
UNIT |
REAL |
MIN |
0.0 |
STEP |
0.1 |
MAX |
100000.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
10.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_MASS_RANGE |
Range |
REAL
|
UNIT |
REAL |
MIN |
0.0 |
STEP |
0.1 |
MAX |
100000.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
10.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_SMOKE_MODE |
Mode |
LONG
|
|
XPQ_PARAM_SMOKE_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_SMOKE_MODE_EQUALS |
Equals |
XPQ_PARAM_SMOKE_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_SMOKE_MODE_INRANGE |
IsinRange |
XPQ_PARAM_SMOKE_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_SMOKE_VALUE |
SmokeValue |
REAL
|
UNIT |
REAL |
MIN |
0.0 |
STEP |
0.1 |
MAX |
100000.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
10.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_SMOKE_RANGE |
Range |
REAL
|
UNIT |
REAL |
MIN |
0.0 |
STEP |
0.1 |
MAX |
100000.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
10.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_TEMP_MODE |
Mode |
LONG
|
|
XPQ_PARAM_TEMP_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_TEMP_MODE_EQUALS |
Equals |
XPQ_PARAM_TEMP_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_TEMP_MODE_INRANGE |
IsinRange |
XPQ_PARAM_TEMP_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_TEMP_VALUE |
Temp.Value |
REAL
|
UNIT |
REAL |
MIN |
0.0 |
STEP |
0.1 |
MAX |
100000.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
10.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_TEMP_RANGE |
Range |
REAL
|
UNIT |
REAL |
MIN |
0.0 |
STEP |
0.1 |
MAX |
100000.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
10.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_RADIUS_MODE |
Mode |
LONG
|
|
XPQ_PARAM_RADIUS_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_RADIUS_MODE_EQUALS |
Equals |
XPQ_PARAM_RADIUS_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_RADIUS_MODE_INRANGE |
IsinRange |
XPQ_PARAM_RADIUS_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_RADIUS_VALUE |
Radius |
REAL
|
UNIT |
METER |
MIN |
0.0 |
STEP |
0.1 |
MAX |
100000.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
10.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_RADIUS_RANGE |
Range |
REAL
|
UNIT |
METER |
MIN |
0.0 |
STEP |
0.1 |
MAX |
100000.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
10.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_SCALE_TYPE |
AxistoTest |
LONG
|
|
XPQ_PARAM_SCALE_TYPE_XYZ |
XYZ |
XPQ_PARAM_SCALE_TYPE_X |
XOnly |
XPQ_PARAM_SCALE_TYPE_Y |
YOnly |
XPQ_PARAM_SCALE_TYPE_Z |
ZOnly |
XPQ_PARAM_SCALE_TYPE_XY |
XY |
XPQ_PARAM_SCALE_TYPE_XZ |
XZ |
XPQ_PARAM_SCALE_TYPE_YZ |
YZ |
|
XPQ_PARAM_SCALE_MODE |
Mode |
LONG
|
|
XPQ_PARAM_SCALE_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_SCALE_MODE_EQUALS |
Equals |
XPQ_PARAM_SCALE_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_SCALE_MODE_INRANGE |
IsinRange |
XPQ_PARAM_SCALE_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_SCALE_VALUE |
ComponentValues |
VECTOR
|
MIN |
|
XPQ_PARAM_SCALE_RANGE |
Range |
VECTOR
|
MIN |
|
XPQ_PARAM_ROTATE_TYPE |
AxistoTest |
LONG
|
|
XPQ_PARAM_ROTATE_TYPE_H |
H |
XPQ_PARAM_ROTATE_TYPE_P |
P |
XPQ_PARAM_ROTATE_TYPE_B |
B |
|
XPQ_PARAM_ROTATE_MODE |
Mode |
LONG
|
|
XPQ_PARAM_ROTATE_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_ROTATE_MODE_EQUALS |
Equals |
XPQ_PARAM_ROTATE_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_ROTATE_MODE_INRANGE |
IsinRange |
XPQ_PARAM_ROTATE_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_ROTATE_VALUE |
RotationAmount |
REAL
|
UNIT |
DEGREE |
MINSLIDER |
-360.0 |
MAXSLIDER |
360.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_ROTATE_RANGE |
Range |
REAL
|
UNIT |
DEGREE |
MINSLIDER |
0.0 |
MAXSLIDER |
360.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_COLLCOUNT_MODE |
Mode |
LONG
|
|
XPQ_PARAM_COLLCOUNT_MODE_LESSTHAN |
IsLessThan |
XPQ_PARAM_COLLCOUNT_MODE_EQUALS |
Equals |
XPQ_PARAM_COLLCOUNT_MODE_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_COLLCOUNT_MODE_INRANGE |
IsinRange |
XPQ_PARAM_COLLCOUNT_MODE_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_COLLCOUNT_VALUE |
Collisions |
LONG
|
MIN |
0 |
MAX |
10000000 |
MINSLIDER |
0 |
MAXSLIDER |
1000 |
CUSTOMGUI |
LONGSLIDER |
|
|
XPQ_PARAM_COLLCOUNT_RANGE |
Range |
LONG
|
MIN |
0 |
MAX |
10000000 |
MINSLIDER |
0 |
MAXSLIDER |
1000 |
CUSTOMGUI |
LONGSLIDER |
|
|
XPQ_PARAM_GENOBJ_TYPE |
ObjectType |
LONG
|
|
XPQ_PARAM_GENOBJ_GENERATOR |
Generator |
XPQ_PARAM_GENOBJ_SPRITE |
Sprite |
|
XPQ_PARAM_GENOBJ_MODE |
Mode |
LONG
|
|
XPQ_PARAM_GENOBJ_ISOBJ |
ParticleGeneratesthisObject |
XPQ_PARAM_GENOBJ_ISNOTOBJ |
ParticleDoesNOTGeneratethisObject |
|
XPQ_PARAM_GENOBJ_INDEX |
ObjectIndex |
LONG
|
MIN |
|
XPQ_PARAM_GENOBJ_SPRITE_TYPE |
SpriteType |
LONG
|
|
XPQ_PARAM_GENOBJ_DOT |
Cube |
XPQ_PARAM_GENOBJ_TICK |
Tick |
XPQ_PARAM_GENOBJ_PLACARD |
Placard |
XPQ_PARAM_GENOBJ_SPHERE |
Sphere |
XPQ_PARAM_GENOBJ_CYCLINDER |
Cylinder |
XPQ_PARAM_GENOBJ_CAPSULE |
Capsule |
XPQ_PARAM_GENOBJ_CONE |
Cone |
XPQ_PARAM_GENOBJ_PYRAMID |
Pyramid |
XPQ_PARAM_GENOBJ_DISC |
Disc |
XPQ_PARAM_GENOBJ_3PLANE |
3-Plane |
XPQ_PARAM_GENOBJ_LIGHT |
Light |
XPQ_PARAM_GENOBJ_POINT |
Points |
XPQ_PARAM_GENOBJ_POINTCLOUD |
Points(PointCloud) |
XPQ_PARAM_GENOBJ_TEXT |
Text |
XPQ_PARAM_GENOBJ_RUBBLE |
Rubble |
|
XPQ_PARAM_VORTEX_RADIUS_MODE |
Mode |
LONG
|
|
XPQ_PARAM_VORTEX_RADIUS_LESSTHAN |
IsLessThan |
XPQ_PARAM_VORTEX_RADIUS_EXCEEDS |
IsGreaterThan |
XPQ_PARAM_VORTEX_RADIUS_INRANGE |
IsinRange |
XPQ_PARAM_VORTEX_RADIUS_OUTRANGE |
IsNotinRange |
|
XPQ_PARAM_VORTEX_RADIUS_VALUE |
Radius |
REAL
|
STEP |
1.0 |
UNIT |
METER |
MIN |
0.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
500.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_PARAM_VORTEX_RADIUS_RANGE |
Range |
REAL
|
STEP |
1.0 |
UNIT |
METER |
MIN |
0.0 |
MINSLIDER |
0.0 |
MAXSLIDER |
500.0 |
CUSTOMGUI |
REALSLIDER |
|
|
XPQ_CHILDTEST |
TestSub-QuestionsMode |
LONG
|
|
XPQ_CHILDTEST_AND |
AND |
XPQ_CHILDTEST_OR |
OR |
|
XPQ_CHILD_ADD |
CreateSub-Question |
BUTTON
|
|
|
XPQ_ACTIONLIST |
Actions |
IN_EXCLUDE
|
NUM_FLAGS |
|
XPQ_ACTION_ADD |
AddAction |
BUTTON
|
|
|
XPQ_MODIFIERS_ACTIVATE |
ModifierstoActivate |
IN_EXCLUDE
|
|
|
XPQ_MODIFIERS_DEACTIVATE |
ModifierstoDeactivate |
IN_EXCLUDE
|
|
|
XPQ_HELP_BUTTON |
|
BITMAPBUTTON
|
|
|
XPQ_VIDMAN_BUTTON |
|
BITMAPBUTTON
|
|
|
Example Code
The following code does not use the correct values when setting the data. You should check directly in C4D for the correct values that you should use in place of the ones that are shown.
This code is just to show you how to access the values for getting and setting the parameters.
Python
import c4d
from c4d import gui
def main():
obj = c4d.BaseObject(c4d.Oxpquestion)
doc.InsertObject(obj)
c4d.EventAdd(c4d.EVENT_FORCEREDRAW)
#You can set parameters two different ways.
#First way
obj[c4d.XPQ_PARAMETER] = 1
obj[c4d.XPQ_PARAMETER_SAVED] = 1
obj[c4d.XPQ_PARAMETER_TYPE] = c4d.XPQ_PARAM_TYPE_PDAT
obj[c4d.XPQ_PARAMETER_PDAT] = c4d.XPQ_PARAM_AGE
obj[c4d.XPQ_PARAMETER_PPOS] = c4d.XPQ_PARAM_SPLINEDIST
obj[c4d.XPQ_PARAMETER_PFLAGS] = c4d.XPQ_PARAM_COLLIDED
obj[c4d.XPQ_PARAMETER_GEOM] = c4d.XPQ_PARAM_BRANCH
obj[c4d.XPQ_PARAMETER_PHYS] = c4d.XPQ_PARAM_BURN
obj[c4d.XPQ_PARAMETER_OTHER] = c4d.XPQ_PARAM_BOOLEAN
obj[c4d.XPQ_PARAM_PYTHON_SCRIPT] = "Hello World"
obj[c4d.XPQ_PARAM_INVOLUME_MODE] = c4d.XPQ_PARAM_INVOLUME_MODE_ISIN
obj[c4d.XPQ_PARAM_AGE_MODE] = c4d.XPQ_PARAM_AGE_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_FRAME_MODE] = c4d.XPQ_PARAM_FRAME_MODE_EQUALS
obj[c4d.XPQ_PARAM_SPEED_MODE] = c4d.XPQ_PARAM_SPEED_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_SPEED_VALUE] = 0.1
obj[c4d.XPQ_PARAM_SPEED_RANGE] = 0.1
obj[c4d.XPQ_PARAM_COUNT_MODE] = c4d.XPQ_PARAM_COUNT_MODE_EXCEEDS
obj[c4d.XPQ_PARAM_COUNT_VALUE] = 1
obj[c4d.XPQ_PARAM_COUNT_RANGE] = 1
obj[c4d.XPQ_PARAM_INDEX_MODE] = c4d.XPQ_PARAM_INDEX_MODE_EQUALS
obj[c4d.XPQ_PARAM_INDEX_VALUE] = 1
obj[c4d.XPQ_PARAM_INDEX_RANGE] = 1
obj[c4d.XPQ_PARAM_GROUP_MODE] = c4d.XPQ_PARAM_GROUP_INGROUP
obj[c4d.XPQ_PARAM_DISTANCE_MODE] = c4d.XPQ_PARAM_DISTANCE_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_DISTANCE_VALUE] = 0.1
obj[c4d.XPQ_PARAM_DISTANCE_RANGE] = 0.1
obj[c4d.XPQ_PARAM_BRANCH_TYPE] = c4d.XPQ_PARAM_BRANCH_TYPE_FRAMEAGE
obj[c4d.XPQ_PARAM_BRANCH_MODE] = c4d.XPQ_PARAM_BRANCH_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_BRANCH_VALUE] = 1
obj[c4d.XPQ_PARAM_POS_TYPE] = c4d.XPQ_PARAM_POS_TYPE_GLOBAL
obj[c4d.XPQ_PARAM_POS_AXIS] = c4d.XPQ_PARAM_POS_AXIS_X
obj[c4d.XPQ_PARAM_POS_MODE] = c4d.XPQ_PARAM_POS_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_POS_VALUE] = 0.1
obj[c4d.XPQ_PARAM_FALLOFF_MODE] = c4d.XPQ_PARAM_FALLOFF_MODE_IN
obj[c4d.XPQ_PARAM_FALLOFF_LOWVALUE] = 0.1
obj[c4d.XPQ_PARAM_FALLOFF_HIGHVALUE] = 0.1
obj[c4d.XPQ_PARAM_FALLOFF_PROB] = 0.1
obj[c4d.XPQ_PARAM_CAMDIST_MODE] = c4d.XPQ_PARAM_CAMDIST_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_CAMDIST_VALUE] = 0.1
obj[c4d.XPQ_PARAM_CAMDIST_RANGE] = 0.1
obj[c4d.XPQ_PARAM_CAMFOV_MODE] = c4d.XPQ_PARAM_CAMFOV_MODE_ISINFOV
obj[c4d.XPQ_PARAM_PROB_SEED] = 1
obj[c4d.XPQ_PARAM_PROB_PROBABILITY] = 0.1
obj[c4d.XPQ_PARAM_FROZEN_OPERATION] = c4d.XPQ_FROZEN_MATCH_ANY
obj[c4d.XPQ_PARAM_FROZEN_MOVE] = True
obj[c4d.XPQ_PARAM_FROZEN_SPIN] = True
obj[c4d.XPQ_PARAM_FROZEN_SCALE] = True
obj[c4d.XPQ_PARAM_COLLIDED_CLEAR] = True
obj[c4d.XPQ_PARAM_TRAIL_LEN] = c4d.XPQ_TRAIL_MAXLEN
obj[c4d.XPQ_PARAM_MORPH_MODE] = c4d.XPQ_MORPH_MODE_ATMAX
obj[c4d.XPQ_PARAM_MORPH_VALUE] = 0.1
obj[c4d.XPQ_PARAM_BOOLEAN_MODE] = c4d.XPQ_BOOLEAN_MODE_ISTRUE
obj[c4d.XPQ_PARAM_BOOLEAN_VALUE] = True
obj[c4d.XPQ_PARAM_OBJDIST_MODE] = c4d.XPQ_PARAM_OBJDIST_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_OBJDIST_VALUE] = 0.1
obj[c4d.XPQ_PARAM_OBJDIST_RANGE] = 0.1
obj[c4d.XPQ_PARAM_SPLINEDIST_TYPE] = c4d.SPLINEDIST_TYPE_END
obj[c4d.XPQ_PARAM_SPLINEDIST_MODE] = c4d.SPLINEDIST_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_SPLINEDIST_DIST] = 0.1
obj[c4d.XPQ_PARAM_SPLINEDIST_LOOPS] = 0.1
obj[c4d.XPQ_PARAM_ILLUM_MODE] = c4d.XPQ_PARAM_ILLUM_MODE_POS
obj[c4d.XPQ_PARAM_ILLUM_FALLOFF] = True
obj[c4d.XPQ_PARAM_ILLUM_THRESHOLD] = 0.1
obj[c4d.XPQ_PARAM_COLOR_TYPE] = c4d.XPQ_PARAM_COLOR_TYPE_RGB
obj[c4d.XPQ_PARAM_COLOR_MODE] = c4d.XPQ_PARAM_COLOR_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_BURN_MODE] = c4d.XPQ_PARAM_BURN_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_BURN_VALUE] = 0.1
obj[c4d.XPQ_PARAM_BURN_RANGE] = 0.1
obj[c4d.XPQ_PARAM_FUEL_MODE] = c4d.XPQ_PARAM_FUEL_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_FUEL_VALUE] = 0.1
obj[c4d.XPQ_PARAM_FUEL_RANGE] = 0.1
obj[c4d.XPQ_PARAM_MASS_MODE] = c4d.XPQ_PARAM_MASS_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_MASS_VALUE] = 0.1
obj[c4d.XPQ_PARAM_MASS_RANGE] = 0.1
obj[c4d.XPQ_PARAM_SMOKE_MODE] = c4d.XPQ_PARAM_SMOKE_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_SMOKE_VALUE] = 0.1
obj[c4d.XPQ_PARAM_SMOKE_RANGE] = 0.1
obj[c4d.XPQ_PARAM_TEMP_MODE] = c4d.XPQ_PARAM_TEMP_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_TEMP_VALUE] = 0.1
obj[c4d.XPQ_PARAM_TEMP_RANGE] = 0.1
obj[c4d.XPQ_PARAM_RADIUS_MODE] = c4d.XPQ_PARAM_RADIUS_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_RADIUS_VALUE] = 0.1
obj[c4d.XPQ_PARAM_RADIUS_RANGE] = 0.1
obj[c4d.XPQ_PARAM_SCALE_TYPE] = c4d.XPQ_PARAM_SCALE_TYPE_XYZ
obj[c4d.XPQ_PARAM_SCALE_MODE] = c4d.XPQ_PARAM_SCALE_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_SCALE_VALUE] = c4d.Vector(1.0,1.0,1.0)
obj[c4d.XPQ_PARAM_SCALE_RANGE] = c4d.Vector(1.0,1.0,1.0)
obj[c4d.XPQ_PARAM_ROTATE_TYPE] = c4d.XPQ_PARAM_ROTATE_TYPE_H
obj[c4d.XPQ_PARAM_ROTATE_MODE] = c4d.XPQ_PARAM_ROTATE_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_ROTATE_VALUE] = 0.1
obj[c4d.XPQ_PARAM_ROTATE_RANGE] = 0.1
obj[c4d.XPQ_PARAM_COLLCOUNT_MODE] = c4d.XPQ_PARAM_COLLCOUNT_MODE_LESSTHAN
obj[c4d.XPQ_PARAM_COLLCOUNT_VALUE] = 1
obj[c4d.XPQ_PARAM_COLLCOUNT_RANGE] = 1
obj[c4d.XPQ_PARAM_GENOBJ_TYPE] = c4d.XPQ_PARAM_GENOBJ_GENERATOR
obj[c4d.XPQ_PARAM_GENOBJ_MODE] = c4d.XPQ_PARAM_GENOBJ_ISOBJ
obj[c4d.XPQ_PARAM_GENOBJ_INDEX] = 1
obj[c4d.XPQ_PARAM_GENOBJ_SPRITE_TYPE] = c4d.XPQ_PARAM_GENOBJ_DOT
obj[c4d.XPQ_PARAM_VORTEX_RADIUS_MODE] = c4d.XPQ_PARAM_VORTEX_RADIUS_LESSTHAN
obj[c4d.XPQ_PARAM_VORTEX_RADIUS_VALUE] = 0.1
obj[c4d.XPQ_PARAM_VORTEX_RADIUS_RANGE] = 0.1
obj[c4d.XPQ_CHILDTEST] = c4d.XPQ_CHILDTEST_AND
#Second way, using the base container.
bc = obj.GetDataInstance()
bc.SetInt32(c4d.XPQ_PARAMETER,1)
bc.SetInt32(c4d.XPQ_PARAMETER_SAVED,1)
bc.SetInt32(c4d.XPQ_PARAMETER_TYPE,c4d.XPQ_PARAM_TYPE_PDAT)
bc.SetInt32(c4d.XPQ_PARAMETER_PDAT,c4d.XPQ_PARAM_AGE)
bc.SetInt32(c4d.XPQ_PARAMETER_PPOS,c4d.XPQ_PARAM_SPLINEDIST)
bc.SetInt32(c4d.XPQ_PARAMETER_PFLAGS,c4d.XPQ_PARAM_COLLIDED)
bc.SetInt32(c4d.XPQ_PARAMETER_GEOM,c4d.XPQ_PARAM_BRANCH)
bc.SetInt32(c4d.XPQ_PARAMETER_PHYS,c4d.XPQ_PARAM_BURN)
bc.SetInt32(c4d.XPQ_PARAMETER_OTHER,c4d.XPQ_PARAM_BOOLEAN)
bc.SetString(c4d.XPQ_PARAM_PYTHON_SCRIPT,"Hello World")
bc.SetInt32(c4d.XPQ_PARAM_INVOLUME_MODE,c4d.XPQ_PARAM_INVOLUME_MODE_ISIN)
bc.SetInt32(c4d.XPQ_PARAM_AGE_MODE,c4d.XPQ_PARAM_AGE_MODE_LESSTHAN)
bc.SetInt32(c4d.XPQ_PARAM_FRAME_MODE,c4d.XPQ_PARAM_FRAME_MODE_EQUALS)
bc.SetInt32(c4d.XPQ_PARAM_SPEED_MODE,c4d.XPQ_PARAM_SPEED_MODE_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_SPEED_VALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_SPEED_RANGE,0.1)
bc.SetInt32(c4d.XPQ_PARAM_COUNT_MODE,c4d.XPQ_PARAM_COUNT_MODE_EXCEEDS)
bc.SetInt32(c4d.XPQ_PARAM_COUNT_VALUE,1)
bc.SetInt32(c4d.XPQ_PARAM_COUNT_RANGE,1)
bc.SetInt32(c4d.XPQ_PARAM_INDEX_MODE,c4d.XPQ_PARAM_INDEX_MODE_EQUALS)
bc.SetInt32(c4d.XPQ_PARAM_INDEX_VALUE,1)
bc.SetInt32(c4d.XPQ_PARAM_INDEX_RANGE,1)
bc.SetInt32(c4d.XPQ_PARAM_GROUP_MODE,c4d.XPQ_PARAM_GROUP_INGROUP)
bc.SetInt32(c4d.XPQ_PARAM_DISTANCE_MODE,c4d.XPQ_PARAM_DISTANCE_MODE_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_DISTANCE_VALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_DISTANCE_RANGE,0.1)
bc.SetInt32(c4d.XPQ_PARAM_BRANCH_TYPE,c4d.XPQ_PARAM_BRANCH_TYPE_FRAMEAGE)
bc.SetInt32(c4d.XPQ_PARAM_BRANCH_MODE,c4d.XPQ_PARAM_BRANCH_MODE_LESSTHAN)
bc.SetInt32(c4d.XPQ_PARAM_BRANCH_VALUE,1)
bc.SetInt32(c4d.XPQ_PARAM_POS_TYPE,c4d.XPQ_PARAM_POS_TYPE_GLOBAL)
bc.SetInt32(c4d.XPQ_PARAM_POS_AXIS,c4d.XPQ_PARAM_POS_AXIS_X)
bc.SetInt32(c4d.XPQ_PARAM_POS_MODE,c4d.XPQ_PARAM_POS_MODE_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_POS_VALUE,0.1)
bc.SetInt32(c4d.XPQ_PARAM_FALLOFF_MODE,c4d.XPQ_PARAM_FALLOFF_MODE_IN)
bc.SetFloat(c4d.XPQ_PARAM_FALLOFF_LOWVALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_FALLOFF_HIGHVALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_FALLOFF_PROB,0.1)
bc.SetInt32(c4d.XPQ_PARAM_CAMDIST_MODE,c4d.XPQ_PARAM_CAMDIST_MODE_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_CAMDIST_VALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_CAMDIST_RANGE,0.1)
bc.SetInt32(c4d.XPQ_PARAM_CAMFOV_MODE,c4d.XPQ_PARAM_CAMFOV_MODE_ISINFOV)
bc.SetInt32(c4d.XPQ_PARAM_PROB_SEED,1)
bc.SetFloat(c4d.XPQ_PARAM_PROB_PROBABILITY,0.1)
bc.SetInt32(c4d.XPQ_PARAM_FROZEN_OPERATION,c4d.XPQ_FROZEN_MATCH_ANY)
bc.SetBool(c4d.XPQ_PARAM_FROZEN_MOVE,True)
bc.SetBool(c4d.XPQ_PARAM_FROZEN_SPIN,True)
bc.SetBool(c4d.XPQ_PARAM_FROZEN_SCALE,True)
bc.SetBool(c4d.XPQ_PARAM_COLLIDED_CLEAR,True)
bc.SetInt32(c4d.XPQ_PARAM_TRAIL_LEN,c4d.XPQ_TRAIL_MAXLEN)
bc.SetInt32(c4d.XPQ_PARAM_MORPH_MODE,c4d.XPQ_MORPH_MODE_ATMAX)
bc.SetFloat(c4d.XPQ_PARAM_MORPH_VALUE,0.1)
bc.SetInt32(c4d.XPQ_PARAM_BOOLEAN_MODE,c4d.XPQ_BOOLEAN_MODE_ISTRUE)
bc.SetBool(c4d.XPQ_PARAM_BOOLEAN_VALUE,True)
bc.SetInt32(c4d.XPQ_PARAM_OBJDIST_MODE,c4d.XPQ_PARAM_OBJDIST_MODE_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_OBJDIST_VALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_OBJDIST_RANGE,0.1)
bc.SetInt32(c4d.XPQ_PARAM_SPLINEDIST_TYPE,c4d.SPLINEDIST_TYPE_END)
bc.SetInt32(c4d.XPQ_PARAM_SPLINEDIST_MODE,c4d.SPLINEDIST_MODE_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_SPLINEDIST_DIST,0.1)
bc.SetFloat(c4d.XPQ_PARAM_SPLINEDIST_LOOPS,0.1)
bc.SetInt32(c4d.XPQ_PARAM_ILLUM_MODE,c4d.XPQ_PARAM_ILLUM_MODE_POS)
bc.SetBool(c4d.XPQ_PARAM_ILLUM_FALLOFF,True)
bc.SetFloat(c4d.XPQ_PARAM_ILLUM_THRESHOLD,0.1)
bc.SetInt32(c4d.XPQ_PARAM_COLOR_TYPE,c4d.XPQ_PARAM_COLOR_TYPE_RGB)
bc.SetInt32(c4d.XPQ_PARAM_COLOR_MODE,c4d.XPQ_PARAM_COLOR_MODE_LESSTHAN)
bc.SetInt32(c4d.XPQ_PARAM_BURN_MODE,c4d.XPQ_PARAM_BURN_MODE_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_BURN_VALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_BURN_RANGE,0.1)
bc.SetInt32(c4d.XPQ_PARAM_FUEL_MODE,c4d.XPQ_PARAM_FUEL_MODE_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_FUEL_VALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_FUEL_RANGE,0.1)
bc.SetInt32(c4d.XPQ_PARAM_MASS_MODE,c4d.XPQ_PARAM_MASS_MODE_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_MASS_VALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_MASS_RANGE,0.1)
bc.SetInt32(c4d.XPQ_PARAM_SMOKE_MODE,c4d.XPQ_PARAM_SMOKE_MODE_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_SMOKE_VALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_SMOKE_RANGE,0.1)
bc.SetInt32(c4d.XPQ_PARAM_TEMP_MODE,c4d.XPQ_PARAM_TEMP_MODE_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_TEMP_VALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_TEMP_RANGE,0.1)
bc.SetInt32(c4d.XPQ_PARAM_RADIUS_MODE,c4d.XPQ_PARAM_RADIUS_MODE_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_RADIUS_VALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_RADIUS_RANGE,0.1)
bc.SetInt32(c4d.XPQ_PARAM_SCALE_TYPE,c4d.XPQ_PARAM_SCALE_TYPE_XYZ)
bc.SetInt32(c4d.XPQ_PARAM_SCALE_MODE,c4d.XPQ_PARAM_SCALE_MODE_LESSTHAN)
bc.SetVector(c4d.XPQ_PARAM_SCALE_VALUE, c4d.Vector(1.0,1.0,1.0)
bc.SetVector(c4d.XPQ_PARAM_SCALE_RANGE, c4d.Vector(1.0,1.0,1.0)
bc.SetInt32(c4d.XPQ_PARAM_ROTATE_TYPE,c4d.XPQ_PARAM_ROTATE_TYPE_H)
bc.SetInt32(c4d.XPQ_PARAM_ROTATE_MODE,c4d.XPQ_PARAM_ROTATE_MODE_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_ROTATE_VALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_ROTATE_RANGE,0.1)
bc.SetInt32(c4d.XPQ_PARAM_COLLCOUNT_MODE,c4d.XPQ_PARAM_COLLCOUNT_MODE_LESSTHAN)
bc.SetInt32(c4d.XPQ_PARAM_COLLCOUNT_VALUE,1)
bc.SetInt32(c4d.XPQ_PARAM_COLLCOUNT_RANGE,1)
bc.SetInt32(c4d.XPQ_PARAM_GENOBJ_TYPE,c4d.XPQ_PARAM_GENOBJ_GENERATOR)
bc.SetInt32(c4d.XPQ_PARAM_GENOBJ_MODE,c4d.XPQ_PARAM_GENOBJ_ISOBJ)
bc.SetInt32(c4d.XPQ_PARAM_GENOBJ_INDEX,1)
bc.SetInt32(c4d.XPQ_PARAM_GENOBJ_SPRITE_TYPE,c4d.XPQ_PARAM_GENOBJ_DOT)
bc.SetInt32(c4d.XPQ_PARAM_VORTEX_RADIUS_MODE,c4d.XPQ_PARAM_VORTEX_RADIUS_LESSTHAN)
bc.SetFloat(c4d.XPQ_PARAM_VORTEX_RADIUS_VALUE,0.1)
bc.SetFloat(c4d.XPQ_PARAM_VORTEX_RADIUS_RANGE,0.1)
bc.SetInt32(c4d.XPQ_CHILDTEST,c4d.XPQ_CHILDTEST_AND)
if __name__=='__main__':
main()
C++
#include "c4d.h"
#include "../res/description/oxpquestion.h"
void SampleFunction()
{
BaseDocument *pDoc = GetActiveDocument();
BaseObject *pObject = BaseObject::Alloc(Oxpquestion);
pDoc->InsertObject(pObject);
pDoc->StartUndo();
pDoc->AddUndo(UNDO_NEW,pObject);
pDoc->EndUndo();
EventAdd(EVENT_FORCEREDRAW);
//You can set parameters two different ways.
//First way
//Some objects do not store all their data in the container. You need to use GetParameter()/SetParameter() instead.
DESCFLAGS_SET flags = DESCFLAGS_SET_PARAM_SET;
pObject->SetParameter(DescID(XPQ_PARAMETER),GeData(1),flags);
pObject->SetParameter(DescID(XPQ_PARAMETER_SAVED),GeData(1),flags);
pObject->SetParameter(DescID(XPQ_PARAMETER_TYPE),GeData(XPQ_PARAM_TYPE_PDAT),flags);
pObject->SetParameter(DescID(XPQ_PARAMETER_PDAT),GeData(XPQ_PARAM_AGE),flags);
pObject->SetParameter(DescID(XPQ_PARAMETER_PPOS),GeData(XPQ_PARAM_SPLINEDIST),flags);
pObject->SetParameter(DescID(XPQ_PARAMETER_PFLAGS),GeData(XPQ_PARAM_COLLIDED),flags);
pObject->SetParameter(DescID(XPQ_PARAMETER_GEOM),GeData(XPQ_PARAM_BRANCH),flags);
pObject->SetParameter(DescID(XPQ_PARAMETER_PHYS),GeData(XPQ_PARAM_BURN),flags);
pObject->SetParameter(DescID(XPQ_PARAMETER_OTHER),GeData(XPQ_PARAM_BOOLEAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_PYTHON_SCRIPT),GeData("Hello World"),flags);
pObject->SetParameter(DescID(XPQ_PARAM_INVOLUME_MODE),GeData(XPQ_PARAM_INVOLUME_MODE_ISIN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_AGE_MODE),GeData(XPQ_PARAM_AGE_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_FRAME_MODE),GeData(XPQ_PARAM_FRAME_MODE_EQUALS),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SPEED_MODE),GeData(XPQ_PARAM_SPEED_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SPEED_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SPEED_RANGE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_COUNT_MODE),GeData(XPQ_PARAM_COUNT_MODE_EXCEEDS),flags);
pObject->SetParameter(DescID(XPQ_PARAM_COUNT_VALUE),GeData(1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_COUNT_RANGE),GeData(1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_INDEX_MODE),GeData(XPQ_PARAM_INDEX_MODE_EQUALS),flags);
pObject->SetParameter(DescID(XPQ_PARAM_INDEX_VALUE),GeData(1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_INDEX_RANGE),GeData(1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_GROUP_MODE),GeData(XPQ_PARAM_GROUP_INGROUP),flags);
pObject->SetParameter(DescID(XPQ_PARAM_DISTANCE_MODE),GeData(XPQ_PARAM_DISTANCE_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_DISTANCE_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_DISTANCE_RANGE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_BRANCH_TYPE),GeData(XPQ_PARAM_BRANCH_TYPE_FRAMEAGE),flags);
pObject->SetParameter(DescID(XPQ_PARAM_BRANCH_MODE),GeData(XPQ_PARAM_BRANCH_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_BRANCH_VALUE),GeData(1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_POS_TYPE),GeData(XPQ_PARAM_POS_TYPE_GLOBAL),flags);
pObject->SetParameter(DescID(XPQ_PARAM_POS_AXIS),GeData(XPQ_PARAM_POS_AXIS_X),flags);
pObject->SetParameter(DescID(XPQ_PARAM_POS_MODE),GeData(XPQ_PARAM_POS_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_POS_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_FALLOFF_MODE),GeData(XPQ_PARAM_FALLOFF_MODE_IN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_FALLOFF_LOWVALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_FALLOFF_HIGHVALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_FALLOFF_PROB),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_CAMDIST_MODE),GeData(XPQ_PARAM_CAMDIST_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_CAMDIST_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_CAMDIST_RANGE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_CAMFOV_MODE),GeData(XPQ_PARAM_CAMFOV_MODE_ISINFOV),flags);
pObject->SetParameter(DescID(XPQ_PARAM_PROB_SEED),GeData(1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_PROB_PROBABILITY),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_FROZEN_OPERATION),GeData(XPQ_FROZEN_MATCH_ANY),flags);
pObject->SetParameter(DescID(XPQ_PARAM_FROZEN_MOVE),GeData(true),flags);
pObject->SetParameter(DescID(XPQ_PARAM_FROZEN_SPIN),GeData(true),flags);
pObject->SetParameter(DescID(XPQ_PARAM_FROZEN_SCALE),GeData(true),flags);
pObject->SetParameter(DescID(XPQ_PARAM_COLLIDED_CLEAR),GeData(true),flags);
pObject->SetParameter(DescID(XPQ_PARAM_TRAIL_LEN),GeData(XPQ_TRAIL_MAXLEN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_MORPH_MODE),GeData(XPQ_MORPH_MODE_ATMAX),flags);
pObject->SetParameter(DescID(XPQ_PARAM_MORPH_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_BOOLEAN_MODE),GeData(XPQ_BOOLEAN_MODE_ISTRUE),flags);
pObject->SetParameter(DescID(XPQ_PARAM_BOOLEAN_VALUE),GeData(true),flags);
pObject->SetParameter(DescID(XPQ_PARAM_OBJDIST_MODE),GeData(XPQ_PARAM_OBJDIST_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_OBJDIST_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_OBJDIST_RANGE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SPLINEDIST_TYPE),GeData(SPLINEDIST_TYPE_END),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SPLINEDIST_MODE),GeData(SPLINEDIST_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SPLINEDIST_DIST),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SPLINEDIST_LOOPS),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_ILLUM_MODE),GeData(XPQ_PARAM_ILLUM_MODE_POS),flags);
pObject->SetParameter(DescID(XPQ_PARAM_ILLUM_FALLOFF),GeData(true),flags);
pObject->SetParameter(DescID(XPQ_PARAM_ILLUM_THRESHOLD),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_COLOR_TYPE),GeData(XPQ_PARAM_COLOR_TYPE_RGB),flags);
pObject->SetParameter(DescID(XPQ_PARAM_COLOR_MODE),GeData(XPQ_PARAM_COLOR_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_BURN_MODE),GeData(XPQ_PARAM_BURN_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_BURN_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_BURN_RANGE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_FUEL_MODE),GeData(XPQ_PARAM_FUEL_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_FUEL_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_FUEL_RANGE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_MASS_MODE),GeData(XPQ_PARAM_MASS_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_MASS_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_MASS_RANGE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SMOKE_MODE),GeData(XPQ_PARAM_SMOKE_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SMOKE_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SMOKE_RANGE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_TEMP_MODE),GeData(XPQ_PARAM_TEMP_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_TEMP_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_TEMP_RANGE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_RADIUS_MODE),GeData(XPQ_PARAM_RADIUS_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_RADIUS_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_RADIUS_RANGE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SCALE_TYPE),GeData(XPQ_PARAM_SCALE_TYPE_XYZ),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SCALE_MODE),GeData(XPQ_PARAM_SCALE_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SCALE_VALUE),GeData(Vector(1.0,1.0,1.0)),flags);
pObject->SetParameter(DescID(XPQ_PARAM_SCALE_RANGE),GeData(Vector(1.0,1.0,1.0)),flags);
pObject->SetParameter(DescID(XPQ_PARAM_ROTATE_TYPE),GeData(XPQ_PARAM_ROTATE_TYPE_H),flags);
pObject->SetParameter(DescID(XPQ_PARAM_ROTATE_MODE),GeData(XPQ_PARAM_ROTATE_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_ROTATE_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_ROTATE_RANGE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_COLLCOUNT_MODE),GeData(XPQ_PARAM_COLLCOUNT_MODE_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_COLLCOUNT_VALUE),GeData(1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_COLLCOUNT_RANGE),GeData(1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_GENOBJ_TYPE),GeData(XPQ_PARAM_GENOBJ_GENERATOR),flags);
pObject->SetParameter(DescID(XPQ_PARAM_GENOBJ_MODE),GeData(XPQ_PARAM_GENOBJ_ISOBJ),flags);
pObject->SetParameter(DescID(XPQ_PARAM_GENOBJ_INDEX),GeData(1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_GENOBJ_SPRITE_TYPE),GeData(XPQ_PARAM_GENOBJ_DOT),flags);
pObject->SetParameter(DescID(XPQ_PARAM_VORTEX_RADIUS_MODE),GeData(XPQ_PARAM_VORTEX_RADIUS_LESSTHAN),flags);
pObject->SetParameter(DescID(XPQ_PARAM_VORTEX_RADIUS_VALUE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_PARAM_VORTEX_RADIUS_RANGE),GeData(0.1),flags);
pObject->SetParameter(DescID(XPQ_CHILDTEST),GeData(XPQ_CHILDTEST_AND),flags);
pObject->Message(MSG_UPDATE);
//Second way, using the base container.
BaseContainer *bc = pObject->GetDataInstance();
bc->SetInt32(XPQ_PARAMETER,1);
bc->SetInt32(XPQ_PARAMETER_SAVED,1);
bc->SetInt32(XPQ_PARAMETER_TYPE,XPQ_PARAM_TYPE_PDAT);
bc->SetInt32(XPQ_PARAMETER_PDAT,XPQ_PARAM_AGE);
bc->SetInt32(XPQ_PARAMETER_PPOS,XPQ_PARAM_SPLINEDIST);
bc->SetInt32(XPQ_PARAMETER_PFLAGS,XPQ_PARAM_COLLIDED);
bc->SetInt32(XPQ_PARAMETER_GEOM,XPQ_PARAM_BRANCH);
bc->SetInt32(XPQ_PARAMETER_PHYS,XPQ_PARAM_BURN);
bc->SetInt32(XPQ_PARAMETER_OTHER,XPQ_PARAM_BOOLEAN);
bc->SetString(XPQ_PARAM_PYTHON_SCRIPT,"Hello World");
bc->SetInt32(XPQ_PARAM_INVOLUME_MODE,XPQ_PARAM_INVOLUME_MODE_ISIN);
bc->SetInt32(XPQ_PARAM_AGE_MODE,XPQ_PARAM_AGE_MODE_LESSTHAN);
bc->SetInt32(XPQ_PARAM_FRAME_MODE,XPQ_PARAM_FRAME_MODE_EQUALS);
bc->SetInt32(XPQ_PARAM_SPEED_MODE,XPQ_PARAM_SPEED_MODE_LESSTHAN);
bc->SetFloat(XPQ_PARAM_SPEED_VALUE,0.1);
bc->SetFloat(XPQ_PARAM_SPEED_RANGE,0.1);
bc->SetInt32(XPQ_PARAM_COUNT_MODE,XPQ_PARAM_COUNT_MODE_EXCEEDS);
bc->SetInt32(XPQ_PARAM_COUNT_VALUE,1);
bc->SetInt32(XPQ_PARAM_COUNT_RANGE,1);
bc->SetInt32(XPQ_PARAM_INDEX_MODE,XPQ_PARAM_INDEX_MODE_EQUALS);
bc->SetInt32(XPQ_PARAM_INDEX_VALUE,1);
bc->SetInt32(XPQ_PARAM_INDEX_RANGE,1);
bc->SetInt32(XPQ_PARAM_GROUP_MODE,XPQ_PARAM_GROUP_INGROUP);
bc->SetInt32(XPQ_PARAM_DISTANCE_MODE,XPQ_PARAM_DISTANCE_MODE_LESSTHAN);
bc->SetFloat(XPQ_PARAM_DISTANCE_VALUE,0.1);
bc->SetFloat(XPQ_PARAM_DISTANCE_RANGE,0.1);
bc->SetInt32(XPQ_PARAM_BRANCH_TYPE,XPQ_PARAM_BRANCH_TYPE_FRAMEAGE);
bc->SetInt32(XPQ_PARAM_BRANCH_MODE,XPQ_PARAM_BRANCH_MODE_LESSTHAN);
bc->SetInt32(XPQ_PARAM_BRANCH_VALUE,1);
bc->SetInt32(XPQ_PARAM_POS_TYPE,XPQ_PARAM_POS_TYPE_GLOBAL);
bc->SetInt32(XPQ_PARAM_POS_AXIS,XPQ_PARAM_POS_AXIS_X);
bc->SetInt32(XPQ_PARAM_POS_MODE,XPQ_PARAM_POS_MODE_LESSTHAN);
bc->SetFloat(XPQ_PARAM_POS_VALUE,0.1);
bc->SetInt32(XPQ_PARAM_FALLOFF_MODE,XPQ_PARAM_FALLOFF_MODE_IN);
bc->SetFloat(XPQ_PARAM_FALLOFF_LOWVALUE,0.1);
bc->SetFloat(XPQ_PARAM_FALLOFF_HIGHVALUE,0.1);
bc->SetFloat(XPQ_PARAM_FALLOFF_PROB,0.1);
bc->SetInt32(XPQ_PARAM_CAMDIST_MODE,XPQ_PARAM_CAMDIST_MODE_LESSTHAN);
bc->SetFloat(XPQ_PARAM_CAMDIST_VALUE,0.1);
bc->SetFloat(XPQ_PARAM_CAMDIST_RANGE,0.1);
bc->SetInt32(XPQ_PARAM_CAMFOV_MODE,XPQ_PARAM_CAMFOV_MODE_ISINFOV);
bc->SetInt32(XPQ_PARAM_PROB_SEED,1);
bc->SetFloat(XPQ_PARAM_PROB_PROBABILITY,0.1);
bc->SetInt32(XPQ_PARAM_FROZEN_OPERATION,XPQ_FROZEN_MATCH_ANY);
bc->SetBool(XPQ_PARAM_FROZEN_MOVE,true);
bc->SetBool(XPQ_PARAM_FROZEN_SPIN,true);
bc->SetBool(XPQ_PARAM_FROZEN_SCALE,true);
bc->SetBool(XPQ_PARAM_COLLIDED_CLEAR,true);
bc->SetInt32(XPQ_PARAM_TRAIL_LEN,XPQ_TRAIL_MAXLEN);
bc->SetInt32(XPQ_PARAM_MORPH_MODE,XPQ_MORPH_MODE_ATMAX);
bc->SetFloat(XPQ_PARAM_MORPH_VALUE,0.1);
bc->SetInt32(XPQ_PARAM_BOOLEAN_MODE,XPQ_BOOLEAN_MODE_ISTRUE);
bc->SetBool(XPQ_PARAM_BOOLEAN_VALUE,true);
bc->SetInt32(XPQ_PARAM_OBJDIST_MODE,XPQ_PARAM_OBJDIST_MODE_LESSTHAN);
bc->SetFloat(XPQ_PARAM_OBJDIST_VALUE,0.1);
bc->SetFloat(XPQ_PARAM_OBJDIST_RANGE,0.1);
bc->SetInt32(XPQ_PARAM_SPLINEDIST_TYPE,SPLINEDIST_TYPE_END);
bc->SetInt32(XPQ_PARAM_SPLINEDIST_MODE,SPLINEDIST_MODE_LESSTHAN);
bc->SetFloat(XPQ_PARAM_SPLINEDIST_DIST,0.1);
bc->SetFloat(XPQ_PARAM_SPLINEDIST_LOOPS,0.1);
bc->SetInt32(XPQ_PARAM_ILLUM_MODE,XPQ_PARAM_ILLUM_MODE_POS);
bc->SetBool(XPQ_PARAM_ILLUM_FALLOFF,true);
bc->SetFloat(XPQ_PARAM_ILLUM_THRESHOLD,0.1);
bc->SetInt32(XPQ_PARAM_COLOR_TYPE,XPQ_PARAM_COLOR_TYPE_RGB);
bc->SetInt32(XPQ_PARAM_COLOR_MODE,XPQ_PARAM_COLOR_MODE_LESSTHAN);
bc->SetInt32(XPQ_PARAM_BURN_MODE,XPQ_PARAM_BURN_MODE_LESSTHAN);
bc->SetFloat(XPQ_PARAM_BURN_VALUE,0.1);
bc->SetFloat(XPQ_PARAM_BURN_RANGE,0.1);
bc->SetInt32(XPQ_PARAM_FUEL_MODE,XPQ_PARAM_FUEL_MODE_LESSTHAN);
bc->SetFloat(XPQ_PARAM_FUEL_VALUE,0.1);
bc->SetFloat(XPQ_PARAM_FUEL_RANGE,0.1);
bc->SetInt32(XPQ_PARAM_MASS_MODE,XPQ_PARAM_MASS_MODE_LESSTHAN);
bc->SetFloat(XPQ_PARAM_MASS_VALUE,0.1);
bc->SetFloat(XPQ_PARAM_MASS_RANGE,0.1);
bc->SetInt32(XPQ_PARAM_SMOKE_MODE,XPQ_PARAM_SMOKE_MODE_LESSTHAN);
bc->SetFloat(XPQ_PARAM_SMOKE_VALUE,0.1);
bc->SetFloat(XPQ_PARAM_SMOKE_RANGE,0.1);
bc->SetInt32(XPQ_PARAM_TEMP_MODE,XPQ_PARAM_TEMP_MODE_LESSTHAN);
bc->SetFloat(XPQ_PARAM_TEMP_VALUE,0.1);
bc->SetFloat(XPQ_PARAM_TEMP_RANGE,0.1);
bc->SetInt32(XPQ_PARAM_RADIUS_MODE,XPQ_PARAM_RADIUS_MODE_LESSTHAN);
bc->SetFloat(XPQ_PARAM_RADIUS_VALUE,0.1);
bc->SetFloat(XPQ_PARAM_RADIUS_RANGE,0.1);
bc->SetInt32(XPQ_PARAM_SCALE_TYPE,XPQ_PARAM_SCALE_TYPE_XYZ);
bc->SetInt32(XPQ_PARAM_SCALE_MODE,XPQ_PARAM_SCALE_MODE_LESSTHAN);
bc->SetVector(XPQ_PARAM_SCALE_VALUE, c4d.Vector(1.0,1.0,1.0);
bc->SetVector(XPQ_PARAM_SCALE_RANGE, c4d.Vector(1.0,1.0,1.0);
bc->SetInt32(XPQ_PARAM_ROTATE_TYPE,XPQ_PARAM_ROTATE_TYPE_H);
bc->SetInt32(XPQ_PARAM_ROTATE_MODE,XPQ_PARAM_ROTATE_MODE_LESSTHAN);
bc->SetFloat(XPQ_PARAM_ROTATE_VALUE,0.1);
bc->SetFloat(XPQ_PARAM_ROTATE_RANGE,0.1);
bc->SetInt32(XPQ_PARAM_COLLCOUNT_MODE,XPQ_PARAM_COLLCOUNT_MODE_LESSTHAN);
bc->SetInt32(XPQ_PARAM_COLLCOUNT_VALUE,1);
bc->SetInt32(XPQ_PARAM_COLLCOUNT_RANGE,1);
bc->SetInt32(XPQ_PARAM_GENOBJ_TYPE,XPQ_PARAM_GENOBJ_GENERATOR);
bc->SetInt32(XPQ_PARAM_GENOBJ_MODE,XPQ_PARAM_GENOBJ_ISOBJ);
bc->SetInt32(XPQ_PARAM_GENOBJ_INDEX,1);
bc->SetInt32(XPQ_PARAM_GENOBJ_SPRITE_TYPE,XPQ_PARAM_GENOBJ_DOT);
bc->SetInt32(XPQ_PARAM_VORTEX_RADIUS_MODE,XPQ_PARAM_VORTEX_RADIUS_LESSTHAN);
bc->SetFloat(XPQ_PARAM_VORTEX_RADIUS_VALUE,0.1);
bc->SetFloat(XPQ_PARAM_VORTEX_RADIUS_RANGE,0.1);
bc->SetInt32(XPQ_CHILDTEST,XPQ_CHILDTEST_AND);
pObject->Message(MSG_UPDATE);
}
Buttons
This node has buttons. Buttons can manually be executed by calling the following code
Python
c4d.CallButton(obj,c4d.XPQ_PARAM_PYTHON_OPENEDITOR)
c4d.CallButton(obj,c4d.XPQ_CHILD_ADD)
c4d.CallButton(obj,c4d.XPQ_ACTION_ADD)
c4d.CallButton(obj,c4d.XPQ_HELP_BUTTON)
c4d.CallButton(obj,c4d.XPQ_VIDMAN_BUTTON)
C++
DescriptionCommand dc;
dc.id = DescID(XPQ_PARAM_PYTHON_OPENEDITOR);
pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc;
dc.id = DescID(XPQ_CHILD_ADD);
pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc;
dc.id = DescID(XPQ_ACTION_ADD);
pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc;
dc.id = DescID(XPQ_HELP_BUTTON);
pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc;
dc.id = DescID(XPQ_VIDMAN_BUTTON);
pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);