Houdini 20.5 Executing tasks with PDG/TOPs pdg

pdg.PyEventHandler class

Represents a handler function added to a node or graph from Python

Inheritance

An instance of this object is returned when you add a custom event handler using pdg.Node.addEventHandler() or pdg.GraphContext.addEventHandler(). If you want to remove the handler later, you can this object to pdg.Node.removeEventHandler() or pdg.GraphContext.removeEventHandler(). Alternatively, you can remove the handler from any event emitter its attached to by calling pdg.EventHandler.removeAllEventEmitters.

Methods

Methods from pdg.EventHandler

pdg

attributes

cooking

customtypes

  • pdg.Dictionary

    Wraps a nested dictionary object in Python, used with Dictionary Array attributes

data

debugging

events

exceptions

  • pdg.AttribError

    Generic exception raised when an error occurs when accessing work item attributes

  • pdg.CookError

    Generic exception raised when an error running the graph.

  • pdg.ServiceError

    Generic exception raised when an error occurs during a PDG service manager operation

expressions

  • pdg.EvaluationContext

    A module with global functions that operate on the thread-local evaluation context

internal

nodes

schedulers

services

types

workitems