This documentation is for the free plugin Py4D in CINEMA 4D R11.5 and not for the C4DSDK of Python in CINEMA 4D R12. For R12, please visit PluginCafe.com

c4d.PriorityData – a PriorityData class

A datatype which contains information about the priority. This type is called by value:

#op is a BaseList2D instance and contains a PriorityData element at the given position [PRIORITY_ELEMENT]
#in this case you have to send the object back to apply the change.
exp = op[PRIORITY_ELEMENT]
exp.SetPriorityValue(c4d.PRIORITYVALUE_MODE, c4d.CYCLE_INITIAL)
op[PRIORITY_ELEMENT] = exp
class c4d.PriorityData

Methods

PriorityData.__init__([v])
Parameter:v (PriorityData) – Copy constructor.
Return type:PriorityData
Returns:The new priority data.
PriorityData.SetPriorityValue(lValueID, data)

Sets a priority values.

Parameter:lValueID (int) –

One of the following modes

PRIORITYVALUE_MODE int Mode.
CYCLE_INITIAL Initial.
CYCLE_ANIMATION Animation.
CYCLE_EXPRESSION Expression.
CYCLE_DYNAMICS Dynamics.
CYCLE_GENERATORS Generators.
PRIORITYVALUE_PRIORITY int Priority.
PRIORITYVALUE_CAMERADEPENDENT bool Camera dependent.
Return type:bool
Returns:True if successful, otherwise False
PriorityData.GetPriorityValue(lValueID)

Return the priority values.

Parameter:lValueID (int) – See the values in SetPriorityValue().
Return type:any
Returns:The value. The type depends on lValueID.

Table Of Contents

This Page