c4d.PriorityData

Priority data type (CUSTOMGUI_PRIORITY_DATA).

This type is called by value.

Inheritance

Members

PriorityData.__init__(v)
Parameters:v (c4d.PriorityData) – Copy constructor.
Return type:c4d.PriorityData
Returns:The new priority data.
PriorityData.SetPriorityValue(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(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.