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)[source]#
Create a layer in the padstack.
- Parameters:
- layer
str
,optional
Name of layer. The default is
"Start"
.- pad_hole
ansys.aedt.core.modeler.Object3d.Object3d.PDSHole
Pad hole object, which you can create with the
add_hole()
method. The default isNone
.- antipad_hole
Antipad hole object, which you can create with the
add_hole()
method. The default isNone
.- thermal_hole
Thermal hole object, which you can create with the
add_hole()
method. The default isNone
.- connx
optional
Connection in the X-axis direction. The default is
0.
- conny
optional
Connection in the Y-axis direction. The default is
0.
- conndir
Connection attach angle. The default is
0.
- layer
- Returns:
- bool
True
when successful,False
when failed.