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

Create a Length Mesh Operation.

name

Get the name of the mesh operation.

enabled

Get the enabled status of the mesh operation.

mesh_region

Get the mesh region name.

net_layer_info

Get the net layer information list.

refine_inside

Get the refine inside status of the mesh operation.

solve_inside

Get the solve inside status of the mesh operation.

max_length

Get the length for the length mesh operation.

restrict_max_length

Get the restrict max length status of the mesh operation.

max_elements

Get the maximum number of elements for the length mesh operation.

restrict_max_elements

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

Name 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:
str

Name of the mesh region.

property LengthMeshOperation.net_layer_info: list[tuple[str, str, bool]]#

Get the net layer information list.

Returns:
list[tuple(str, str, bool)]

List of net layer information for the mesh operation.

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

The 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.

property LengthMeshOperation.max_elements: str#

Get the maximum number of elements for the length mesh operation.

Returns:
str

The maximum number of elements.

property LengthMeshOperation.restrict_max_elements: bool#

Get the restrict max elements status of the mesh operation.

Returns:
bool

True if restricting max elements 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.