Houdini 20.0 Executing tasks with PDG/TOPs pdg

pdg.attribMergeType module

The enumeration of different merge operations that can be applied to attributes

This enum contains the possible merge operatons, for example for the merge operation menu on Partitioner returned by the pdg.mergeOperationMenu function.

Values

pdg.attribMergeType.Ignore

The attribute is ignored, and not merged at all

pdg.attribMergeType.FirstValue

The first value for the attribute is kept when merging, and other values are discarded

pdg.attribMergeType.LastValue

The last value for the attribute is kept when merging, and other values are discarded

pdg.attribMergeType.UniqueValues

The list of unique value(s) across all work items that have the attribute are kept

pdg.attribMergeType.AppendArray

Attribute values across all work items are concatenated into an array

pdg.attribMergeType.Minimum

The minimum attribute value is kept

pdg.attribMergeType.Maximum

The maximum attribute value is kept

pdg.attribMergeType.Sum

The sum of all attribute values is kept, assuming the attribute is numeric

pdg.attribMergeType.Average

The average attribute value is kept, assuming the attribute is numeric

pdg.attribMergeType.Mode

The most common attribute value is kept

pdg.attribMergeType.Median

The middle attribute value is kept

pdg.attribMergeType.Sorted

Attribute values across all work items are merged into a sorted array

pdg

attributes

cooking

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