Warning: The following command is preliminary. Its syntax may change. Be prepared to make changes to legacy scripts.

Terminate

Creates a new network data with specified ports terminated.

UI Access

From the Network Data Explorer tab, select Transforms in the NDE ribbon. Then select Terminate from the drop-down menu.

Parameters
Name Type Description
<oData> Object Data from this object is copied to a new network data and the copy is transformed.
<portNumbers> Array of Integers The port numbers that are terminated (integers between 1 and n).
<termImpedances> Array of Complex Numbers The impedance values used to terminate the specified ports.
Return Value

Network IDispatch.

Note: Terminate returns None if the port numbers are not valid or there are no impedance value for the port numbers.

 

Python Syntax Terminate()
Python Example

oNDE = oDesktop.GetTool("ndExplorer")

oData2 = oNDE.Terminate(oData1, [2, 3], [23, "10+2i"])