assign_mesh_region#
- IcepakMesh.assign_mesh_region(objectlist=[], level=5, is_submodel=False, name=None, virtual_region=False)[source]#
Assign a predefined surface mesh level to an object.
- Parameters:
- objectlist
list
,optional
List of objects to apply the mesh region to. The default is
[]
.- level
int
,optional
Level of the surface mesh. Options are
1
through5
. The default is5
.- is_submodelbool
Define if the object list is made by component models
- name
str
,optional
Name of the mesh region. The default is
"MeshRegion1"
.- virtual_regionbool,
optional
Whether to use the virtual mesh region beta feature (available from version 22.2). The default is
False
.
- objectlist
- Returns:
pyaedt.modules.MeshIcepak.IcepakMesh.MeshRegion
References
>>> oModule.AssignMeshRegion