sel.node.group

Syntax

s = sel.node.group(snp<,slot>)
sel.node.group(snp<,slot>) = s

Get/set the group name assigned to structural element node sn in slot slot (if provided). group assignment (returned as a string name) for a sel node. Returns None if there is no group assignment for the node. 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:snp - node pointer slot - (optional) name of the slot used. If not given, the slot name Default is assumed.