TimberModel.add_group
- TimberModel.add_group(name, parent=None, attr=None, **kwargs)[source]
Add a group to the model.
- Parameters:
- namestr
The name of the group.
- parent
GroupNode
, optional The parent (group) node for the group.
- attrdict, optional
Additional attributes to add to the group.
- **kwargsdict, optional
Additional keyword arguments, which will be added to the attributes dict.
- Returns:
GroupNode