assign_model_resolution#

Mesh.assign_model_resolution(assignment, defeature_length=None, name=None)#

Assign the model resolution.

Parameters:
assignmentlist

List of objects to defeature.

defeature_lengthfloat, optional

Defeaturing length in millimeters. The default is None, in which case automatic defeaturing is used.

namestr, optional

Name of the mesh operation. The default is None.

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")