RunToolkit

Runs a Python toolkit script, applying it to the active design. The toolkit script itself may have prerequisites, such as sweeps defined, or specific model characteristics, such as port definitions.

Important:

Full scripting for cable modeling is not supported and no arguments are allowed in the script. The RunToolkit command will not automatically create a cable bundle, but will simply open the Cable Modeling dialog box. You will have to manually input your parameters.

UI Access [HFSS] > Toolkit > [Script Name].
Parameters
Name Type Description
<LibraryType> String Name of the library in which the script is located.
<ToolkitName> String Name of the Python script.
<ToolkitArg> Array Structured array containing arguments required by the toolkit script.
Return Value User-defined solution(s) and/or output(s).

Python Syntax

RunToolkit(<LibraryType>, <ToolkitName>, <ToolkitArg>)

Python Example

oDesign.RunToolkit("SysLib", "Hearing Aid Compliance", [])