CreatePin (Layout Editor)

Use: Creates a pin.

Syntax: CreatePin <pin_description>

Return Value: Returns the name of the newly created pin.

Parameters: <pin_description>:

Array("NAME:Contents",

Array("NAME:Port", "Name:=", <object_name>), // not used

"Rotation:=", Array(<value>), // rotation

"Offset:=", <vpoint>, // position

"Padstack:=", <quoted_string>) // padstack name

VB Example: oEditor.CreatePin

Array("NAME:Contents",

Array("NAME:Port", "Name:=", "Pin_1"),

"Rotation:=", Array("0deg"),

"Offset:=", Array("x:=", "-2mm", "y:=", "-1mm"),

"Padstack:=", "NoPad SMT East")