Skip to content

HandleParameterType

Implementation of the handle parameter type.

HandleParameterType

Canonical path: HandleParameterType.HandleParameterType

Bases: IntEnum

The parameter type defines the function to be used to recalculate the value of the parameter property assigned to the handle.

ANGLE class-attribute instance-attribute

ANGLE = 9

Calculate the angle from the xy-plane vector between the reference and handle point

CHECK_BOX class-attribute instance-attribute

CHECK_BOX = 13

Use the handle as checkbox

DECREMENT_BUTTON class-attribute instance-attribute

DECREMENT_BUTTON = 15

Use the handle as button to decrement the value

INCREMENT_BUTTON class-attribute instance-attribute

INCREMENT_BUTTON = 14

Use the handle as button to increment the value

POINT class-attribute instance-attribute

POINT = 7

Set the value to the handle point

POINT_DISTANCE class-attribute instance-attribute

POINT_DISTANCE = 8

Calculate the value from the distance between the reference and handle point

VECTOR_DISTANCE class-attribute instance-attribute

VECTOR_DISTANCE = 12

Calculate the value from the distance between the reference and handle point, transformed to the vector direction assigned to the HandleProperties

X_DISTANCE class-attribute instance-attribute

X_DISTANCE = 1

Calculate the value from the x-distance between the reference and handle point

Y_DISTANCE class-attribute instance-attribute

Y_DISTANCE = 2

Calculate the value from the y-distance between the reference and handle point

Z_COORD class-attribute instance-attribute

Z_COORD = 10

Calculate the value for the "ZMin" or "ZMax" parameter. The distance between these values is adapted to the distance between the reference and handle point

Z_DISTANCE class-attribute instance-attribute

Z_DISTANCE = 3

Calculate the value from the z-distance between the reference and handle point