assign_model_resolution#
- Mesh.assign_model_resolution(assignment, defeature_length=None, name=None)[source]#
Assign the model resolution.
- Parameters:
- Returns:
ansys.aedt.core.modules.mesh.MeshOperation
Mesh operation object.
References
>>> oModule.AssignModelResolutionOp
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_model_resolution(o,1e-4,"ModelRes1")