assign_length_mesh#
- Mesh.assign_length_mesh(names, isinside=True, maxlength=1, maxel=1000, meshop_name=None)[source]#
Assign a length for the model resolution.
- Parameters:
- names
list
List of object names or face IDs.
- isinsidebool,
optional
Whether the length mesh is inside the selection. The default is
True
.- maxlength
str
,float
,optional
Maximum element length. The default is
1
. WhenNone
, this parameter is disabled.- maxel
int
,optional
Maximum number of elements. The default is
1000
. WhenNone
, this parameter is disabled.- meshop_name
str
,optional
Name of the mesh operation. The default is
None
.
- names
- Returns:
pyaedt.modules.Mesh.MeshOperation
Mesh operation object.
References
>>> oModule.AssignLengthOp