Usage ¶
getPreset(session: hapi.Session, node_id: int, buffer_length: int) → list of str
Generates a preset for the given asset.
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 exposed node id.
buffer_length
Size of the buffer. Should be the same as the length returned by hapi.getPresetBufLength.
Returns buffer as a list of str.