LimitLocationConstraint(Constraint)

base classes — bpy_struct, Constraint

class bpy.types.LimitLocationConstraint(Constraint)

Limit the location of the constrained object

max_x

Highest X value to allow (in [-inf, inf], default 0.0)

Type:

float

max_y

Highest Y value to allow (in [-inf, inf], default 0.0)

Type:

float

max_z

Highest Z value to allow (in [-inf, inf], default 0.0)

Type:

float

min_x

Lowest X value to allow (in [-inf, inf], default 0.0)

Type:

float

min_y

Lowest Y value to allow (in [-inf, inf], default 0.0)

Type:

float

min_z

Lowest Z value to allow (in [-inf, inf], default 0.0)

Type:

float

use_max_x

Use the maximum X value (default False)

Type:

bool

use_max_y

Use the maximum Y value (default False)

Type:

bool

use_max_z

Use the maximum Z value (default False)

Type:

bool

use_min_x

Use the minimum X value (default False)

Type:

bool

use_min_y

Use the minimum Y value (default False)

Type:

bool

use_min_z

Use the minimum Z value (default False)

Type:

bool

use_transform_limit

Transform tools are affected by this constraint as well (default False)

Type:

bool

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:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions