Houdini 21.0 Executing tasks with PDG/TOPs pdg

pdg.attribCopyType module

The enumeration of different copy operations that can be used to copy work item attributes

This enum contains the possible copy operations, for example for the Attribute Copy TOP node.

Values

pdg.attribCopyType.New

The attribute is only copied if an existing attribute with the same name does not exist

pdg.attribCopyType.OverwriteType

The attribute is always copied, even if an existing attribute with a different type already exists. The existing attribute is replaced.

pdg.attribCopyType.Overwrite

The attribute is copied if no attribute exists, or an existing attribute exists with the same type. The existing attribute’s value is replaced.

pdg.attribCopyType.Append

The attribute is copied if no attribute exists, or an existing attribute exists with the same type. The value is appended onto the end of the existing attribute.

pdg.attribCopyType.Prepend

The attribute is copied if no attribute exists, or an existing attribute exists with the same type. The value is appended onto the start of the existing attribute.

pdg.attribCopyType.Update

The attribute is copied if no attribute exists, or an existing attribute exists with the same type. Array values are overwritten, however existing array entries beyond the length of the incoming array are preserved.

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