Houdini 20.0 hapi

hapi.getNodeCookResult function

Return the cook result string that was composed during a call to

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

Usage

getNodeCookResult(session: hapi.Session, length: int) → str

Return the cook result string that was composed during a call to hapi.getNodeCookResultLength.

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.

length

Length of the char buffer (must match size of string_value - so include None terminator).

Returns string_value as a str.

hapi