block.group

Syntax

s = block.group(blp<,slot>)
block.group(blp<,slot>) = s

Get/set the group name assigned to block blp in slot slot (if provided). group assignment (returned as a string name) for a block. Returns None if there is no group assignment for the block. Use of the group logic is described in the Groups topic.

Returns:s - group name in slot slot (if provided)
Accepts:s - group name in slot slot (if provided)
Arguments:blp - block pointer
slot - (optional) name of the slot used. If not given, the slot name Default is assumed.