AddPinAtLocation Method (Block Object)

Scope: Schematic editor

Object: Block Object

Prerequisites: None

Adds a pin to a symbol block.

Note:

Since the VX.2.1 release, this method adds a default label to the pin.

Usage

Block.AddPinAtLocation(ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As IVdPin

Arguments

Note:

All coordinates are measured in 100ths of an inch.

X1

X coordinate of the first point.

Y1

Y coordinate of the first point.

X2

X coordinate of the second point.

Y2

X coordinate of the second point.

Return Values

As IVdPin. The newly created Pin Object.

Description

The block must be a symbol. The pin will start and finish at the internal points specified.