UnitSettings(bpy_struct)

base class — bpy_struct

class bpy.types.UnitSettings(bpy_struct)
scale_length

Scale to use when converting between blender units and dimensions

Type:float in [1e-05, 100000], default 0.0
system

The unit system to use for button display

Type:enum in [‘NONE’, ‘METRIC’, ‘IMPERIAL’], default ‘NONE’
system_rotation

Unit to use for displaying/editing rotation values

  • DEGREES Degrees, Use degrees for measuring angles and rotations.
  • RADIANS Radians.
Type:enum in [‘DEGREES’, ‘RADIANS’], default ‘DEGREES’
use_separate

Display units in pairs (e.g. 1m 0cm)

Type:boolean, default False
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