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

Stretch (SPISim)

Creates a new network data representing a matrix of transmission lines with the length of those transmission lines multiplied by a factor of n.

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

From the Network Data Explorer tab, select Transforms in the NDE ribbon. Then select Stretch 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.
<factor> Double The transmission line lengths are multiplied by this number.
Return Value

Network IDispatch.

Note: Stretch returns None if the network data argument does not represent a matrix of transmission lines.

 

Python Syntax Stretch()
Python Example

oNDE = oDesktop.GetTool("ndExplorer")

oData2 = oNDE.Stretch(oData1, 3.1)