EditWithComps [padstack manager]
Edit an existing padstack.
| UI Access | Not available | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Return Value |
Composite name of the padstack in the form of a string. If the name requested conflicts with the name of an existing padstack , the requested name is altered to be unique, and the name returned reflects that change. |
| Python Syntax | EditWithComps (<PadstackName>, [ <Name>, <ModTime>, <Library>, <LibLocation>, <PinDefInfo>,<GraphicsDataInfo>, <PadPortLayerArray>],<ListOfComponentNames>) |
| Python Example |
oPadstackManager.EditWithComps("Circle - through1", ["NAME:Circle - through1", "ModTime:=", 1235765635, "Library:=", "", "LibLocation:=", "Project", ["NAME:psd", "nam:=", "Circle - through1", "lib:=", "", "mat:=", "", "plt:=", "0", ["NAME:pds", ["NAME:lgm", "lay:=", "Top Signal", "id:=", 0, "pad:=", ["shp:=", "Cir", "Szs:=", ["2.5mm"], "X:=", "0mm", "Y:=", "0mm", "R:=", "0deg"], "ant:=", ["shp:=", "Cir", "Szs:=", ["3.5mm"], "X:=", "0mm", "Y:=", "0mm", "R:=", "0"], "thm:=", ["shp:=", "No", "Szs:=", [], "X:=", "0mm", "Y:=", "0mm", "R:=", "0"], "X:=", "0mm", "Y:=", "0mm", "dir:=", "Any"], ["NAME:lgm", "lay:=", "SignalA", "id:=", 1, "pad:=", ["shp:=", "Cir", "Szs:=", ["2mm"], "X:=", "0mm", "Y:=", "0mm", "R:=", "0deg"], "ant:=", ["shp:=", "Cir", "Szs:=", ["3mm"], "X:=", "0mm", "Y:=", "0mm", "R:=", "0"], "thm:=", ["shp:=", "No", "Szs:=", [ ], "X:=", "0mm", "Y:=", "0mm", "R:=", "0"], "X:=", "0mm", "Y:=", "0mm", "dir:=", "Any"], ["NAME:lgm", "lay:=", "SignalB", "id:=", 2, "pad:=", ["shp:=", "Cir", "Szs:=", ["2mm"], "X:=", "0mm", "Y:=", "0mm", "R:=", "0deg"], "ant:=", [shp:=", "Cir", "Szs:=", ["3mm"], "X:=", "0mm", "Y:=", "0mm", "R:=", "0deg"], "thm:=", ["shp:=", "No", "Szs:=", [ ], "X:=", "0mm", "Y:=", "0mm", "R:=", "0"], "X:=", "0mm", "Y:=", "0mm", "dir:=", "Any"], ["NAME:lgm", "lay:=", "Ground", "id:=", 3, "pad:=", ["shp:=", "No", "Szs:=", [ ], "X:=", "0mm", "Y:=", "0mm", "R:=", "0deg"], "ant:=", ["shp:=", "No", "Szs:=", [ ], "X:=", "0mm", "Y:=", "0mm", "R:=", "0"], "thm:=", ["shp:=", "R90", "Szs:=", ["3mm", "0.75mm", "1mm"], "X:=", "0mm", "Y:=", "0mm", "R:=", "0"], "X:=", "0mm", "Y:=", "0mm", "dir:=", "Any"], ["NAME:lgm", "lay:=", "Bottom signal", "id:=", 5, "pad:=", ["shp:=", "Cir", "Szs:=", ["1mm"], "X:=", "0mm", "Y:=", "0mm", "R:=", "0deg"], "ant:=", ["shp:=", "Cir", "Szs:=", ["2mm"], "X:=", "0mm", "Y:=", "0mm", "R:=", "0deg"], "thm:=", ["shp:=", "No", "Szs:=", [ ], "X:=", "0mm", "Y:=", "0mm", "R:=", "0"], "X:=", "0mm", "Y:=", "0mm", "dir:=", "Any"] ] "hle:=", ["shp:=", "Cir", "Szs:=", ["1.5mm"], "X:=", "0mm", "Y:=", "0mm", "R:=", "0deg"], "hRg:=", "End", "sbsh:=", "Sph", "sbpl:=", "abv", "sbr:=", "750um", "sb2:=", "1200um", "1200um", "sbn:=", "solder"], "ppl:=", [0, 1, 2, 3, 5] [""]) |
<LayerGeometryArray>:
["Name:lgm",
"lay:=", <string>, // definition layer name
"id:=", <int>, // definition layer id
"pad:=", <PadInfo>, // pad
"ant:=", <PadInfo>, // antipad
"thm:=", <PadInfo>, // themal pad
"X:=", <string>, // pad x connection, real with units
"Y:=", <string>, // pad y connection, real with units
"dir:=", <DirectionString>] // pad connection direction
<PadInfo>:
["shp:=", <PadShape>,
"Szs:=", <DimensionArray>,
"X:=", <string>, // x offset, real with units
"Y:=", <string>, // y offset, real with units
"R:=", <string> // rotation, real with units
]
<PadShape>– Input is a string; use one of the following:
"No" // no pad
"Cir" # Circle
"Sq" # Square
"Rct" # Rectangle
"Ov" # Oval
"Blt" # Bullet
"Ply" # Polygons
"R45" # Round 45 thermal
"R90" # Round 90 thermal
"S45" # Square 45 thermal
"S90" # Square 90 thermal
<DimensionArray>:
[<string>, ...] # each string is a real with units for one of the dimensions of the shape
<DirectionString>– Input is a string; use one of the following:
"No" # no direction
"Any" # any direction
"0" # 0 degrees
"45" # 45 degrees
"90" # 90 degrees
"135" # 135 degrees
"180" # 180 degrees
"225" # 225 degrees
"270" # 270 degrees
"315" # 315 degrees