This method must be called before hapi.getOutputGeoInfos is called.
Usage ¶
getOutputGeoCount(session
: hapi.Session, node_id
: int
) → int
A helper method that gets the number of main geometry outputs inside an Object node or SOP node. If the node is an Object node, this method will return the cumulative number of geometry outputs for all geometry nodes that it contains. When searching for output geometry, this method will only consider subnetworks that have their display flag enabled.
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 node id of the Object or SOP node to get the geometry output count of.
Returns count as a int
.