assign_mesh_level#

IcepakMesh.assign_mesh_level(mesh_order: dict, name: str = None) list[MeshOperation] | bool#

Assign a mesh level to objects.

Parameters:
mesh_orderdict

Dictionary where the key is the object name and the value is the mesh level.

namestr, optional

Name of the mesh operation. The default is None.

Returns:
list[ansys.aedt.core.modules.mesh.MeshOperation]

True when successful, False when failed.

References

>>> oModule.AssignMeshOperation

Examples

>>> from ansys.aedt.core.modules.mesh_icepak import IcepakMesh
>>> obj = IcepakMesh()
>>> obj.assign_mesh_level(mesh_order={"Name": "Value"})