Driver(bpy_struct)
base class — bpy_struct
- class bpy.types.Driver(bpy_struct)
Driver for the value of a setting based on an external value
- expression
Expression to use for Scripted Expression (default “”, never None)
- Type:
str
- is_simple_expression
The scripted expression can be evaluated without using the full Python interpreter (default False, readonly)
- Type:
bool
- is_valid
Driver could not be evaluated in past, so should be skipped (default True)
- Type:
bool
- type
Driver type (default
'AVERAGE')- Type:
Literal[‘AVERAGE’, ‘SUM’, ‘SCRIPTED’, ‘MIN’, ‘MAX’]
- use_self
Include a ‘self’ variable in the name-space, so drivers can easily reference the data being modified (object, bone, etc…) (default False)
- Type:
bool
- variables
Properties acting as inputs for this driver (default None, readonly)
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type: