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
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
| Parameter: | v (PriorityData) – Copy constructor. |
|---|---|
| Return type: | PriorityData |
| Returns: | The new priority data. |
Sets a priority values.
| Parameter: | lValueID (int) – One of the following modes
|
|||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Return type: | bool | |||||||||||||||||||
| Returns: | True if successful, otherwise False |
Return the priority values.
| Parameter: | lValueID (int) – See the values in SetPriorityValue(). |
|---|---|
| Return type: | any |
| Returns: | The value. The type depends on lValueID. |