get_back_drill_by_layer#

PadstackInstance.get_back_drill_by_layer(from_bottom, include_fill_material=False)#

Get the back drill type by the layer.

Parameters:
from_bottombool

Whether to get the back drill type from the bottom.

include_fill_materialbool, optional

Input flag to obtain fill material as well as other parameters. If false, the return tuple does not include fill material and is backward compatible with previous versions.

Returns:
tuple of (Layer, Value, Value, str)

Returns a tuple in this format:

(drill_to_layer, offset, diameter, fill_material)

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

  • fill_material : Fill material name (empty string if no fill). Returned only when include_fill_material is true.