LengthMeshOperation#
- class pyedb.grpc.database.simulation_setup.length_mesh_operation.LengthMeshOperation(core=None, name='', net_layer_info=None, enabled=True, refine_inside=False, mesh_region='', solve_inside=False, max_length: str = '1mm', restrict_max_length: bool = True, max_elements: str = '1000', restrict_max_elements: bool = False)#
PyEDB Length Mesh Operation class.
Overview#
Create a Length Mesh Operation. |
Get the name of the mesh operation. |
|
Get the enabled status of the mesh operation. |
|
Get the mesh region name. |
|
Get the net layer information list. |
|
Get the refine inside status of the mesh operation. |
|
Get the solve inside status of the mesh operation. |
|
Get the length for the length mesh operation. |
|
Get the restrict max length status of the mesh operation. |
|
Get the maximum number of elements for the length mesh operation. |
|
Get the restrict max elements status of the mesh operation. |
Import detail#
from pyedb.grpc.database.simulation_setup.length_mesh_operation import LengthMeshOperation
Property detail#
- property LengthMeshOperation.name: str#
Get the name of the mesh operation.
- Returns:
strName of the mesh operation.
- property LengthMeshOperation.enabled: bool#
Get the enabled status of the mesh operation.
- Returns:
- bool
True if the mesh operation is enabled, False otherwise.
- property LengthMeshOperation.mesh_region: str#
Get the mesh region name.
- Returns:
strName of the mesh region.
- property LengthMeshOperation.net_layer_info: list[tuple[str, str, bool]]#
Get the net layer information list.
- property LengthMeshOperation.refine_inside: bool#
Get the refine inside status of the mesh operation.
- Returns:
- bool
True if refining inside is enabled, False otherwise.
- property LengthMeshOperation.solve_inside: bool#
Get the solve inside status of the mesh operation.
- Returns:
- bool
True if solving inside is enabled, False otherwise.
- property LengthMeshOperation.max_length: float#
Get the length for the length mesh operation.
- Returns:
floatThe length value.
- property LengthMeshOperation.restrict_max_length: bool#
Get the restrict max length status of the mesh operation.
- Returns:
- bool
True if restricting max length is enabled, False otherwise.
Method detail#
- classmethod LengthMeshOperation.create(name: str = '', net_layer_info: tuple[str, str, bool] = None, enabled: bool = True, refine_inside: bool = False, mesh_region: str = '', solve_inside: bool = False, max_length: str = '1mm', restrict_max_length: bool = True, max_elements: str = '1000', restrict_max_elements: bool = False) LengthMeshOperation#
Create a Length Mesh Operation. Parameters ———- name : str
Name of the mesh operation.
- net_layer_infotuple[str, str, bool]
A tuple containing the net name, layer name, and a boolean indicating whether to include child layers.
- enabledbool
Whether the mesh operation is enabled.
- refine_insidebool
Whether to refine the mesh inside the specified region.
- mesh_regionstr
The name of the mesh region.
- solve_insidebool
Whether to solve inside the specified region.
- max_lengthstr
The maximum length for the mesh operation.
- restrict_max_lengthbool
Whether to restrict the maximum length.
- max_elementsstr
The maximum number of elements for the mesh operation.
- restrict_max_elementsbool
Whether to restrict the maximum number of elements.
Returns#
- LengthMeshOperationLengthMeshOperation
The Length Mesh Operation object.