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:
nameslist

List of object names or face IDs.

isinsidebool, optional

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

maxlengthstr, float, optional

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

maxelint, optional

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

meshop_namestr, optional

Name of the mesh operation. The default is None.

Returns:
pyaedt.modules.Mesh.MeshOperation

Mesh operation object.

References

>>> oModule.AssignLengthOp