Usage ¶
getStringBatch(session
: hapi.Session, char_array_length
: int
) → list
of str
Gives back the values of the given string handles. The given char array is filled with null-separated values, and the final value is null-terminated. Used with hapi.getStringBatchSize. Using this function instead of repeated calls to hapi.getString can be more more efficient for a large number of strings.
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.
char_array_length
Length of char_array
. Must be large enough to hold
all the string values including None separators.
Returns char_buffer as a list
of str
.