add_layer

Padstack.add_layer(layername='Start', pad_hole=None, antipad_hole=None, thermal_hole=None, connx=0, conny=0, conndir=0)[source]

Create a layer in the padstack.

Parameters
layernamestr, optional

Name of layer. The default is "Start".

pad_holepyaedt.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.