Houdini 20.5 Executing tasks with PDG/TOPs pdg

pdg.InjectBlock class

Context manager for injecting static work items

This is a helper class/context manager used with the pdg.Node.injectStaticItems method. The method returns an instance of this context manager, which creates a work item holder and commits it to the node when scope finishes. For example:

with node.injectStaticItems as holder:
    holder.addWorkItem(index=2)

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