reassign_subregion#

Modeler2D.reassign_subregion(region: Object3d, parts: list[str]) → bool#

Modify parts in the subregion.

Parameters:
regionansys.aedt.core.modules.mesh_icepak.SubRegion

Subregion to modify.

partslist of str

One or more names of the parts to include in the subregion.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.CreateRegion

Examples

>>> from ansys.aedt.core import Hfss
>>> app = Hfss()
>>> app.modeler.reassign_subregion(region=1, parts=["Box1"])