extrude.block.size

Syntax

i = extrude.block.size(bp)

Get the number of edges of a block (including internal boundaries, if any). This will equal the number of points on the block. Possible return values are: 3 = triangle, 4 = quad.

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