building_blocks.block.size

Syntax

i = building_blocks.block.size(bp)

Get the number of block faces. The return values are: 4 = tetrahedron, 5 = wedge, and 6 = hexahedron.

Returns:i - number of faces
Arguments:bp - block pointer