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:
layerUnion[str, int, None]

Layer name.

pad_typePadType

Pad type.

offset_xValue

X offset.

offset_yValue

Y offset.

rotationValue

Rotation.

type_geomPadGeometryType, default: None

Pad geometry type. The default is None if setting polygonal pad parameters.

sizesList[Value], default: None

List of pad sizes. The default is None if setting polygonal pad parameters.

fpPolygonData, default: None

Polygon geometry. The default is None if not setting polygonal pad parameters.