CreatePortsOnComponents (Layout Editor)

Creates port-on-port instances of selected components.

UI Access Right click on component(s) to select Port > Create Ports on Component
Parameters
Name Type Description

<Name>

String

"NAME:elements"

<element-name> String Name of a component
Return Value None. Ports are created on the unconnected port instances of the selected components.

 

Python Syntax

CreatePortsOnComponents(["NAME:elements", <element-name>,…])

Python Example

oEditor.CreatePortsOnComponents(

[

"NAME:elements",

"poly101",

"rect100"

])