Houdini 20.5 hapi

hapi.saveGeoToMemory function

Saves the cached geometry to your buffer in memory,

Also note that this call to hapi.saveGeoToMemory will delete the internal geo buffer that was cached in the previous call to hapi.getGeoSize. This means that you will need to call hapi.getGeoSize again before you can call this function.

Usage

saveGeoToMemory(session: hapi.Session, node_id: int, length: int) → list of str

Saves the cached geometry to your buffer in memory, whose format and required size is identified by the call to hapi.getGeoSize. The call to hapi.getGeoSize is required as hapi.getGeoSize does the actual saving work.

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.

length

The size of the buffer passed in.

Returns buffer as a list of str.

hapi