building_blocks.block.ablock

Syntax

bp2 = building_blocks.block.ablock(bp1,fp)

Get an attached block. Returns a block attached to the face of the original block. If the face is external a null pointer(0) is returned. The face must belong to the original block.

Returns:

bp2 - attached block pointer

Arguments:

bp1 - original block pointer

fp - face pointer