Houdini 20.5 Executing tasks with PDG/TOPs pdg

pdg.attribOrigin module

The enumeration of attribute origins

This enum provides the possible origins for a work item attribute, i.e. when the attribute gets added to the work item by node or the job script. The values of this enum can be ORed together, indicating that an attribute is used or added in both the generate and cook stages.

Values

pdg.attribOrigin.Undefined

The attribute has no origin or is not added to work items at all

pdg.attribOrigin.Generate

The attribute is added during work item generation

pdg.attribOrigin.Cook

The attribute is added when the work item is cooking

pdg.attribOrigin.Expected

The attribute contains data that is expected to exist when the work item finishes cooking

pdg.attribOrigin.GenerateExpected

Convenience enum value, which is the OR of the Generate and Expected values

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