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:
- assignment
list
,str
List of object names or face IDs.
- inside_selectionbool,
optional
Whether the length mesh is inside the selection. The default is
True
.- maximum_length
str
,float
,optional
Maximum element length. The default is
1
. WhenNone
, this parameter is disabled.- maximum_elements
int
,optional
Maximum number of elements. The default is
1000
. WhenNone
, this parameter is disabled.- name
str
,optional
Name of the mesh operation. The default is
None
.
- assignment
- Returns:
ansys.aedt.core.modules.mesh.MeshOperation
Mesh operation object.
References
>>> oModule.AssignLengthOp