CreateCircuitPort (Layout Editor)
Use: Create a circuit port between two points.
Command: Draw > Create Circuit Ports
Syntax: CreateCircuitPort Array("NAME:Location", "PosLayer:=", "layer name", "X0:=", _
x-value, "Y0:=", y-value, "NegLayer:=", "layer name", "X1:=", x-value, "Y1:=", y-value)
Return Value: None
Parameters: <"layer">
Type: text
Description: layer name.
<"port">
Type: text
Description: a port or pin name.
<edge description>
for primitive edges
"et:=", "pe", "prim:=", <"prim">, "edge:=", <edge#>
<"prim">
Type: text
Description: primitive name
<edge#>
Type: integer
Description: 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)