get_connection_pt#

PadstackDefData.get_connection_pt(layer)#

Get connection point position and direction of the padstack definition by layer name.

Parameters:
layerstr

Layer name.

Returns:
tuple of (PointData, ConnectionPtDirection)

The tuple is of the format (position, direction):

  • position: Position of the connection point.

  • direction: Direction of the connection point.