GetComponentPins (Layout Editor)

Use: Informational.

Command: None.

Syntax: GetComponentPins<compID>

Return Value: array of strings, which are the names of all the component's pins

Parameters: The LayoutComp's ID
CompInst@<ComponentName>;<CompInstID>

VB Example:

’ --------------------------------------------------------------------------------------------

’ Script Recorded by Ansys Electronics Desktop

’ Component Name is CAP_ and ID is 1

’ --------------------------------------------------------------------------------------------

dim pins
          
pins = oEditor.GetComponentPins ("1")

Note: For the documented example, the capacitor component name is CAP_ and its ID is 1. If you can select the item of interest in the schematic, the Properties window gets updated with the corresponding component name, its ID, and other details as shown in the following figure.