get_back_drill_by_layer#

PadstackInstance.get_back_drill_by_layer(from_bottom)#

Get the back drill type by the layer.

Parameters:
from_bottombool

Whether to get the back drill type from the bottom.

Returns:
tuple[

bool, Value, Value

]

Returns a tuple in this format:

(drill_to_layer, offset, diameter)

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

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

diameter : Drilling diameter.