add_layer#

Padstack.add_layer(layer='Start', pad_hole=None, antipad_hole=None, thermal_hole=None, connx=0, conny=0, conndir=0, layer_id=None)#

Create a layer in the padstack.

Parameters:
layerstr, optional

Name of layer. The default is "Start".

pad_holeansys.aedt.core.modeler.Object3d.Object3d.PDSHole

Pad hole object, which you can create with the add_hole() method. The default is None.

antipad_hole

Antipad hole object, which you can create with the add_hole() method. The default is None.

thermal_hole

Thermal hole object, which you can create with the add_hole() method. The default is None.

connxoptional

Connection in the X-axis direction. The default is 0.

connyoptional

Connection in the Y-axis direction. The default is 0.

conndir

Connection attach angle. The default is 0.

Returns:
bool

True when successful, False when failed.