assign_length_mesh#

Mesh3d.assign_length_mesh(setup, layer, net, is_inside: bool = True, maximum_length: int = 1, maximum_elements: int = 1000, name: str | None = None)#

Assign mesh length.

Parameters:
setupstr

Name of the HFSS setup to apply.

layerstr

Name of the layer.

netstr

Name of the net.

is_insidebool, optional

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

maximum_lengthfloat, optional

Maximum length of the element. 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:
type

Mesh operation object.

References

>>> oModule.AddMeshOperation