Houdini 20.0 hapi

hapi.addGroup function

Add a group to the input geo with the given type and name.

Usage

addGroup(session: hapi.Session, node_id: int, part_id: int, group_type: hapi.groupType, group_name: str) → bool

Add a group to the input geo with the given type and name.

session

The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.

node_id

The SOP node id.

part_id

Currently not used. Just pass 0.

group_type

The group type.

group_name

Name of new group to be added.

hapi