Houdini 18.0 Executing Tasks pdg

pdg.cookType module

The enumeration of possible cook modes

This enum contains the possible cook types that can be passed to the pdg.GraphContext._cook(..) method, using a pdg.CookOptions object.

Values

pdg.cookType.Full

Performs a full cook of all nodes in the graph

pdg.cookType.GenerateFull

Generates static items for all nodes in the graph

pdg.cookType.GenerateNode

Generates the graph down to a particular node. Upstream dynamic nodes will be cooked if needed.

pdg.cookType.Node

Cooks the graph for a particular node. Upstream nodes will only be cooked if necessary.

pdg.cookType.StaticDepsFull

Does a static cook of the whole graph. This consists of doing a GenerateFull, and then calling the onScheduleStatic implementation of the user’s custom scheduler.

Note that this is a fairly obscure cook mode, and will not work out of the box with stock schedulers.

pdg.cookType.StaticDepsGen

Generates static items for all nodes in the graph. This is provided for backward compatibility, and is the same as using GenerateFull.

pdg.cookType.StaticDepsNode

The same as StaticDepsFull, but for a particular node.

pdg

attributes

cooking

data

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

nodes

schedulers

services

types

workitems