# TransformConstraint(Constraint)

base classes — `bpy_struct`, `Constraint`

class `bpy.types.``TransformConstraint`(Constraint)

  Map transformations of the target to the object

  `from_max_x`

    Top range of X axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_max_x_rot`

    Top range of X axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_max_x_scale`

    Top range of X axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_max_y`

    Top range of Y axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_max_y_rot`

    Top range of Y axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_max_y_scale`

    Top range of Y axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_max_z`

    Top range of Z axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_max_z_rot`

    Top range of Z axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_max_z_scale`

    Top range of Z axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_min_x`

    Bottom range of X axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_min_x_rot`

    Bottom range of X axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_min_x_scale`

    Bottom range of X axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_min_y`

    Bottom range of Y axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_min_y_rot`

    Bottom range of Y axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_min_y_scale`

    Bottom range of Y axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_min_z`

    Bottom range of Z axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_min_z_rot`

    Bottom range of Z axis source motion

    Type: | float in [-inf, inf], default 0.0

  `from_min_z_scale`

    Bottom range of Z axis source motion

    Type: | float in [-inf, inf], default 0.0

  `map_from`

    The transformation type to use from the target

    Type: | enum in [‘LOCATION’, ‘ROTATION’, ‘SCALE’], default ‘LOCATION’

  `map_to`

    The transformation type to affect of the constrained object

    Type: | enum in [‘LOCATION’, ‘ROTATION’, ‘SCALE’], default ‘LOCATION’

  `map_to_x_from`

    The source axis constrained object’s X axis uses

    Type: | enum in [‘X’, ‘Y’, ‘Z’], default ‘X’

  `map_to_y_from`

    The source axis constrained object’s Y axis uses

    Type: | enum in [‘X’, ‘Y’, ‘Z’], default ‘X’

  `map_to_z_from`

    The source axis constrained object’s Z axis uses

    Type: | enum in [‘X’, ‘Y’, ‘Z’], default ‘X’

  `subtarget`

    Type: | string, default “”, (never None)

  `target`

    Target Object

    Type: | `Object`

  `to_max_x`

    Top range of X axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_max_x_rot`

    Top range of X axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_max_x_scale`

    Top range of X axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_max_y`

    Top range of Y axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_max_y_rot`

    Top range of Y axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_max_y_scale`

    Top range of Y axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_max_z`

    Top range of Z axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_max_z_rot`

    Top range of Z axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_max_z_scale`

    Top range of Z axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_min_x`

    Bottom range of X axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_min_x_rot`

    Bottom range of X axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_min_x_scale`

    Bottom range of X axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_min_y`

    Bottom range of Y axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_min_y_rot`

    Bottom range of Y axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_min_y_scale`

    Bottom range of Y axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_min_z`

    Bottom range of Z axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_min_z_rot`

    Bottom range of Z axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `to_min_z_scale`

    Bottom range of Z axis destination motion

    Type: | float in [-inf, inf], default 0.0

  `use_motion_extrapolate`

    Extrapolate ranges

    Type: | boolean, default False

Inherited Properties

`bpy_struct.id_data` `Constraint.name` `Constraint.type` `Constraint.owner_space` `Constraint.target_space` `Constraint.mute` `Constraint.show_expanded` | `Constraint.is_valid` `Constraint.active` `Constraint.is_proxy_local` `Constraint.influence` `Constraint.error_location` `Constraint.error_rotation`

Inherited Functions

`bpy_struct.as_pointer` `bpy_struct.driver_add` `bpy_struct.driver_remove` `bpy_struct.get` `bpy_struct.is_property_hidden` `bpy_struct.is_property_readonly` `bpy_struct.is_property_set` `bpy_struct.items` | `bpy_struct.keyframe_delete` `bpy_struct.keyframe_insert` `bpy_struct.keys` `bpy_struct.path_from_id` `bpy_struct.path_resolve` `bpy_struct.property_unset` `bpy_struct.type_recast` `bpy_struct.values`