CreatePin (Layout Editor)

Creates a pin.

UI Access None.
Parameters
Name Type Description
<Pin_Description> Array Array consisting of the following parameters in order:
  • <NAME:Contents>
  • <Port>
  • <Rotation>
  • <Offset>
  • <Padstack>
<NAME:Contents> String Object descriptor header.
<Port> Array Port definition array (not used).
<Name> String Object name (unused).
<Rotation> Array Rotation angle of the pin.
<Value> Double Rotation angle value.
<Offset> VPoint Pin position.
<Padstack> String Padstack name.
Return Value Pin name

 

Python Syntax oEditor.CreatePin(<Pin_Description>)
Python Example

oEditor.CreatePin(

[

"NAME:Contents",

["NAME:Port", "Name:=", "MyObject"],

"Rotation:=", [90],

"Offset:=", [0.0, 0.0],

"Padstack:=", "MyPadstack"

]

)