HorizontalWavePortProperty#
- class pyedb.grpc.database.inner.layout_obj.HorizontalWavePortProperty#
Represents the properties of a horizontal wave port.
This class encapsulates configuration settings for horizontal wave ports used in electromagnetic simulations. It stores port characteristics such as type, geometry (arms), and associated port names (padstack instances).
- Attributes:
- port_type
str The type of port. Default is “Pad Port”.
- arms
int The number of arms for the port structure. Default is 2.
- hfss_last_type
int The last HFSS type identifier. Default is 8.
- port_names
tuple[str, …] Tuple of port/via names (padstack instance names) associated with this property. Can contain multiple via names (e.g., positive and negative vias). Default is an empty tuple.
- horizontal_wave_primarybool
Whether this is a primary horizontal wave port. Default is False.
- is_gap_sourcebool
Whether the port is a gap source. Default is True.
- port_type
Overview#
Convert HorizontalWavePortProperty instance into an interpretable property string. |
Import detail#
from pyedb.grpc.database.inner.layout_obj import HorizontalWavePortProperty
Attribute detail#
Method detail#
- HorizontalWavePortProperty.to_property_string() str#
Convert HorizontalWavePortProperty instance into an interpretable property string.
Generates a formatted string representation of the horizontal wave port properties, including all port names (padstack instances) as a comma-separated list within the HorizWavePort(…) section.
- Returns:
strA formatted property string with all attributes encoded, suitable for storage or transmission.