create#

SubRegion.create(padding_values: list[str | float], padding_types: list[str], region_name: str, parts: list[str]) bool#

Create subregion object.

Parameters:
padding_valueslist of str or float

List of padding values to apply in each direction, in the following order: +X, -X, +Y, -Y, +Z, -Z.

padding_typeslist of str

List of padding types to apply in each direction, in the following order: +X, -X, +Y, -Y, +Z, -Z.

region_namestr

Name to assign to the subregion.

partslist of str

Parts to be included in the subregion.

Returns:
bool

True when successful, False when failed.