SetSourceContexts

For Near or Far Field projects for Driven Modal or Driven Terminal Network Analysis Solutions, specifies the port name and all modes/terminals of that port to be enabled as Source Context.

UI Access HFSS > Fields > Edit Sources.
Parameters
Name Type Description
<SourceId> Array Name of modes/terminals to be set as source context.
Return Value None.

 

Python Syntax SetSourceContexts(<SourceId>)
Python Example

oModule.SetSourceContexts(

[

"Box1_T1", "Box1_T2", "Box1_T3", "Current1", "IncPWave1"

])