assign_surface_mesh#
- Mesh.assign_surface_mesh(assignment, level, name=None)[source]#
Assign a surface mesh level to one or more objects.
- Parameters:
- Returns:
ansys.aedt.core.modules.mesh.MeshOperation
Mesh operation object.
References
>>> oModule.AssignTrueSurfOp
Examples
Basic usage demonstrated with an HFSS design:
>>> from ansys.aedt.core import Hfss >>> hfss = Hfss() >>> o = hfss.modeler.create_cylinder(0,[0, 0, 0],3,20,0) >>> surface = hfss.mesh.assign_surface_mesh(o.id,3,"Surface")