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

Extract (SPISim)

Creates a new smaller network data after removing data for the specified terminal port numbers.

Note: Extract opens and interacts with SPISim to complete.
UI Access

From the Network Data Explorer tab, select Transforms in the NDE ribbon. Then select Extract 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 will be retained (integers between 1 and n).
Return Value

Network IDispatch.

 

Python Syntax Extract()
Python Example

oNDE = oDesktop.GetTool("ndExplorer")

oData2 = oNDE.Extract(oData1, [3, 2])