Houdini 20.5 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. The order of the values matches the order of the work items themselves.

pdg.attribMergeType.AppendArray

Attribute values across all work items are concatenated into an array. The order of the values matches the order of the work items themselves.

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.attribMergeType.SortedUnique

Attribute values across all work items are merged into a sorted array, and unique values are kept

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