Usage ¶
loadGeoFromMemory(session
: hapi.Session, node_id
: int
, format
: str
, buffer
: str
, length
: int
) → bool
Loads a geometry from memory and put its contents onto a SOP 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.
format
The file format, ie. “obj”, “bgeo” etc.
buffer
The buffer we will read the geometry from.
length
The size of the buffer passed in.