DriverTarget(bpy_struct)

base class — bpy_struct

class bpy.types.DriverTarget(bpy_struct)

Source of input values for driver variables

bone_target

Name of PoseBone to use as target

Type

string, default “”, (never None)

data_path

RNA Path (from ID-block) to property used

Type

string, default “”, (never None)

id

ID-block that the specific property used can be found from (id_type property must be set first)

Type

ID

id_type

Type of ID-block that can be used

Type

enum in Id Type Items, default ‘OBJECT’

rotation_mode

Mode for calculating rotation channel values

Type

enum in Driver Target Rotation Mode Items, default ‘AUTO’

transform_space

Space in which transforms are used

  • WORLD_SPACE World Space – Transforms include effects of parenting/restpose and constraints.

  • TRANSFORM_SPACE Transform Space – Transforms don’t include parenting/restpose or constraints.

  • LOCAL_SPACE Local Space – Transforms include effects of constraints but not parenting/restpose.

Type

enum in [‘WORLD_SPACE’, ‘TRANSFORM_SPACE’, ‘LOCAL_SPACE’], default ‘WORLD_SPACE’

transform_type

Driver variable type

Type

enum in [‘LOC_X’, ‘LOC_Y’, ‘LOC_Z’, ‘ROT_X’, ‘ROT_Y’, ‘ROT_Z’, ‘ROT_W’, ‘SCALE_X’, ‘SCALE_Y’, ‘SCALE_Z’, ‘SCALE_AVG’], default ‘LOC_X’

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions

References