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:
objectlistlist, optional

List of objects to apply the mesh region to. The default is [].

levelint, optional

Level of the surface mesh. Options are 1 through 5. The default is 5.

is_submodelbool

Define if the object list is made by component models

namestr, 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.

Returns:
pyaedt.modules.MeshIcepak.IcepakMesh.MeshRegion

References

>>> oModule.AssignMeshRegion