Currently it's only possible to define a single integration_line with either direction or start and stop point. This applies for the first mode of the wave_port. Higher Modes don't have any integration line defined. However in the GUI there is the option to "Copy From Mode 1":
Would it be possible to either give the option to copy from Mode 1 and apply to all modes, or expose the integration_line attribute to set the other lines after port creation?
Steps for implementing the feature
port = hfss.wave_port(sheet, reference=gnd_ref, create_port_sheet=False, integration_line=integration_line, name='p_name', renormalize=False, modes=n_modes)
for i in range(n_modes):
port.integration_line[i] = [start_point, end_point]
Description of the feature
Currently it's only possible to define a single integration_line with either direction or start and stop point. This applies for the first mode of the wave_port. Higher Modes don't have any integration line defined. However in the GUI there is the option to "Copy From Mode 1":
Would it be possible to either give the option to copy from Mode 1 and apply to all modes, or expose the integration_line attribute to set the other lines after port creation?
Steps for implementing the feature
Useful links and references
oModule.EditWavePort
hfss.boundaries_by_type['Wave Port']