Houdini 20.5 hapi

hapi.composeNodeCookResult function

Compose the cook result string (errors and warnings) of a

This will actually parse the node network inside the given node and return ALL errors/warnings/messages of all child nodes, combined into a single string. If you'd like a more narrowed search, call this function on one of the child nodes.

You MUST call hapi.composeNodeCookResult before calling hapi.getComposedNodeCookResult because hapi.getComposedNodeCookResult will not return the real result string and instead return a cached version of the string that was created inside hapi.composeNodeCookResult. The reason for this is that the length of the real status string may change between the call to hapi.composeNodeCookResult and the call to hapi.getComposedNodeCookResult.

Usage

composeNodeCookResult(session: hapi.Session, node_id: int, verbosity: hapi.statusVerbosity) → int

Compose the cook result string (errors and warnings) of a specific node.

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.

verbosity

Preferred verbosity level.

Returns buffer_length as a int.

hapi