set_back_drill_by_layer#

PadstackInstance.set_back_drill_by_layer(drill_to_layer, offset, diameter, from_bottom)#

Set the back drill by the layer.

Parameters:
drill_to_layerLayer

Layer to drill to. If drilling from the top, the drill stops at the upper elevation of the layer. If drilling from the bottom, the drill stops at the lower elevation of the layer.

offsetValue

Layer offset (or depth if the layer is empty).

diameterValue

Drilling diameter.

from_bottombool

Whether to set the back drill type from the bottom.