c4d.PriorityData

class c4d.PriorityData

Priority data type (CUSTOMGUI_PRIORITY_DATA).

This type is called by value.

Methods Signatures

PriorityData.__init__(self[, v])

type v

Optional[c4d.PriorityData]

PriorityData.SetPriorityValue(self, lValueID, data)

Sets a priority values.

PriorityData.GetPriorityValue(self, lValueID)

Retrieves the priority values.

Inheritance

Parent Class:

Methods Documentation

PriorityData.__init__(self, v=None)
Parameters

v (Optional[c4d.PriorityData]) – Copy constructor.

PriorityData.SetPriorityValue(self, lValueID, data)

Sets a priority values.

Parameters
  • lValueID (int) –

    The priority value ID to set:

    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.

  • data (any) – The priority value to set.

Return type

bool

Returns

True if successful, otherwise False

PriorityData.GetPriorityValue(self, lValueID)

Retrieves the priority values.

Parameters

lValueID (int) –

The priority value ID to get:

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

Any

Returns

The priority value.