set_pad_parameters#
- PadstackDefData.set_pad_parameters(layer, pad_type, offset_x, offset_y, rotation, type_geom=None, sizes=None, fp=None)#
Set pad parameters by layer name and pad type in their original values in the database.
- Parameters:
- layer
Union
[str
,int
,None
] Layer name.
- pad_type
PadType
Pad type.
- offset_x
Value
X offset.
- offset_y
Value
Y offset.
- rotation
Value
Rotation.
- type_geom
PadGeometryType
, default:None
Pad geometry type. The default is
None
if setting polygonal pad parameters.- sizes
List
[Value
], default:None
List of pad sizes. The default is
None
if setting polygonal pad parameters.- fp
PolygonData
, default:None
Polygon geometry. The default is
None
if not setting polygonal pad parameters.
- layer