Houdini 20.5 hapi

hapi.getEdgeCountOfEdgeGroup function

Gets the number of edges that belong to an edge group on a geometry

Usage

getEdgeCountOfEdgeGroup(session: hapi.Session, node_id: int, part_id: int, group_name: str) → int

Gets the number of edges that belong to an edge group on a geometry part.

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

The part id.

group_name

The name of the edge group.

Returns edge_count as a int.

hapi