AddRefPort (Layout Editor)

Use: Create a reference port from edges and associate with each of the named ports.

Command: (When more than 2 edges are selected.)

Draw > Port > Create

Right-click > Port > Create

Also available through toolbar icon.

Syntax: AddRefPort

Array(<"port name">, <"port name">, ...),

Array("NAME:Contents",

"edge:=", Array(<edge description>), "edge:=, Array(<edge description>), ...)

Return Value: None.

Parameters: <edge description> for primitive edges

 

"et:=", "pe", "prim:=", <"prim">, "edge:=", <edge#>

 

<"prim">:

text that is the primitive name

 

<edge#>:

integer that is the edge number on the primitive

 

<edge description>

for via edges

 

"et:=", "pse", "sel:=", <"via">, "layer:=", <layer id>,

"sx:=", <start X location>, "sy:=", <start Y location>, "ex:=", <end X location>,

"ey:=", <end Y location>, "h:=", <arc height>, "rad:=", <radians>

 

<"via">:

text that is the name of the via to use

<layer id>:

an integer that is the id of the layer of the pad of the via to use

 

<start X location>, <start Y Location>:

   doubles that are the X, Y location of the start point of the edge arc

<end X location>, <end Y Location>:

   doubles that are the X, Y location of the end point of the edge arc

 

<arc height>:

double giving the height of the edge arc (0 for a straight edge)

<radians>:

double giving the arc size in radians (0 for a straight edge)