block.list

Syntax

l = block.list()

Get the list of all blocks in the model. This is primarily used in the c loop foreach statement.

Returns:l - list of blocks