GetPortInfo (Layout Editor)

Use: Request information on a port or pin.

Command: None.

Syntax: GetPortInfo<"name">

Return Value: an array of text as follows:

For pins and ports that are not edge ports:

Name=<name>

Type=Pin, Padstack: <padstack definition name>

X=<X coordinate>

Y=<Y coordinate>

ConnectionPoints=<connection description>; <connection description>,...

NetName=<net name>

For edge ports:

Name=<name>

Type=EdgePort

X=<X coordinate>

Y=<Y coordinate>

ConnectionPoints=<connection description>; <connection description>,...

NetName=<net name>

<name>

Text containing the name of the pin or port

<padstack definition name>

Text containing the name of the associated padstack definition

<X coordinate>

Double indicating the X location of the pin or port location

<Y coordinate>

Double indicating the Y location of the pin or port location

<connection description>

< X coordinate> <Y coordinate> Dir:<direction> Layer: <layer name>

<direction>

Either NONE or a double giving the angle in degrees for the connection direction

<layer name>

Name of the layer for the connection point being described.

Example returned values:

Name=Pin1

Type=Pin, Padstack: Padstack

X=0.000744

Y=0.015537

ConnectionPoints= 0.000744 0.015537 Dir:NONE Layer: Top; 0.000744 0.015537

Dir:NONE Layer: Ground; 0.000744 0.015537 Dir:NONE Layer: Bottom

NetName=Pin1

Name=Port1

Type=EdgePort

X=-0.008120

Y=0.004264

ConnectionPoints= -0.008120 0.004264 Dir:90.000000 Layer: Bottom

NetName=Port1

Parameters: <"name">

Text that contains the name of the port or pin for which information is being requested.