get_pad_parameters#
- PadstackDefData.get_pad_parameters(layer, pad_type)#
Get pad parameters by layer name and pad type in their original values in the database.
- Parameters:
- Returns:
tuple
[PadGeometryType
,list
of
Value
,Value
,Value
,Value
]or
tuple
[PolygonData
,Value
,Value
,Value
]The tuple is in this format for other than polygons:
(pad_type, sizes, offset_x, offset_y, rotation)
.For polygons, the tuple is in this format:
(fp, offset_x, offset_y, rotation)
.pad_type
: Pad typesizes
: Pad parametersoffset_x
: X offsetoffset_y
: Y offsetrotation
: Rotationfp
: Polygon geometry