create#

SubRegion.create(padding_values, padding_types, region_name, parts)[source]#

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.