AutoCreatePECCapForWavePort

Creates a PEC cap for a wave port when the port is internal to the design and does not touch any non-solve-inside component, or when the project includes an open region, causing all geometries to be treated as internal.

UI Access From HFSS, navigate to Boundary Assignment and enable Automatic PEC cap creation for wave port.
Parameters
Name Type Description
<NAME:AutoCreatePECCapForWavePort> String Required header string identifying the parameter block.
<Wave Port Name> String Name of the wave port to apply the PEC cap to.
<Face ID> Integer ID of the face associated with the wave port.
<Flip Side> Boolean Indicates whether to flip the PEC cap orientation.
<Thickness> String Thickness of the PEC cap, including units (e.g., "0.18mm").
Return Value None

Python Syntax AutoCreatePECCapForWavePort([PECCapParameters])
Python Example

oEditor.AutoCreatePECCapForWavePort([

"NAME:AutoCreatePECCapForWavePort",

"Wave Port Name:=", "2",

"Face ID:=", 280,

"Flip Side:=", False,

"Thickness:=", "0.18mm"

])