create#

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

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_xValue

Position x of the padstack instance.

position_yValue

Position y of the padstack instance.

rotationValue

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.