extrude.block.maxid

Syntax

i := extrude.block.maxid(sp)

Get the maximum ID number assigned to any block in the set sp. The next block created will be assigned this value plus one.

Returns:i - maximum ID number of any block in the set
Arguments:sp - extrude set pointer