create#

classmethod PadstackInstance.create(layout, net, name, padstack_def, position_x, position_y, rotation, top_layer, bottom_layer, solder_ball_layer=None, layer_map=None)#

Create a padstack instance.

Parameters:
layoutLayout

Layout to create the padstack instance in.

netNet

Net of the padstack instance.

namestr

Name of the padstack instance.

padstack_defPadstackDef

Padstack definition of the padstack instance.

position_xValueLike

Position x of the padstack instance.

position_yValueLike

Position y of the padstack instance.

rotationValueLike

Rotation of the padstack instance.

top_layerLayer

Top layer of the padstack instance.

bottom_layerLayer

Bottom layer of the padstack instance.

solder_ball_layerLayer

Solder ball layer of the padstack instance or None for none.

layer_mapLayerMap

Layer map of the padstack instance. None or empty results in auto-mapping.

Returns:
PadstackInstance

Padstack instance created.