assign_length_mesh#

Mesh.assign_length_mesh(assignment, inside_selection=True, maximum_length=1, maximum_elements=1000, name=None)#

Assign a length for the model resolution.

Parameters:
assignmentlist, str

List of object names or face IDs.

inside_selectionbool, optional

Whether the length mesh is inside the selection. The default is True.

maximum_lengthstr, float, optional

Maximum element length. The default is 1. When None, this parameter is disabled.

maximum_elementsint, optional

Maximum number of elements. The default is 1000. When None, this parameter is disabled.

namestr, optional

Name of the mesh operation. The default is None.

Returns:
ansys.aedt.core.modules.mesh.MeshOperation

Mesh operation object.

References

>>> oModule.AssignLengthOp