Usage ¶
getPDGEvents(session
: hapi.Session, graph_context_id
: int
, length
: int
) → (list
of hapi.PDG_EventInfo, int
, int
)
Returns PDG events that have been collected. Calling this function will remove those events from the queue. Events collection is restarted by calls to hapi.cookPDG.
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.
graph_context_id
The id of the graph context
length
The size of the buffer passed in.
Returns a tuple of (event_array, event_count, remaining_events).