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

Rename (SPISim)

Creates a new network data of the same size with the terminal ports renamed.

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

From the Network Data Explorer tab, select Transforms in the NDE ribbon. Then select Rename 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.
<portNames> Array of Strings The new names (one for each port).
Return Value

Network IDispatch.

 

Python Syntax Rename()
Python Example

oNDE = oDesktop.GetTool("ndExplorer")

oData2 = oNDE.Rename(oData1, ["input", "control", "output"])