Houdini 20.5 Executing tasks with PDG/TOPs pdg

pdg.batchActivation module

The enumeration of batch activation conditions

This enum contains the possible values for when a pdg.BatchWorkItem begins cooking. By default, batches begin when all dependencies for all subitems are ready, however it is possible to generate a batch that cooks when its first subitem or any subitem is ready.

Values

pdg.batchActivation.All

The batch will begin cooking when all subitems have their dependencies satisfied

pdg.batchActivation.Any

The batch will begin cooking when any of the subitems have their dependencies satisfied

pdg.batchActivation.First

The batch will begin cooking when the first subitem has its dependencies satisfied.

pdg.batchActivation.Fixed

The batch will begin cooking when a fixed number of subitem dependencies have been cooked, starting from the first dependency. The pdg.BatchWorkItem.activationCount property determines the number of dependencies to wait for.

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