Cortex  10.0.0-a4
Public Member Functions | List of all members
IECoreHoudini.UpdateMode Class Reference

A context object intended for use with python's "with" syntax. More...

Public Member Functions

def __init__ (self, mode)
 
def __enter__ (self)
 
def __exit__ (self, type, value, traceBack)
 

Detailed Description

A context object intended for use with python's "with" syntax.

It ensures that all operations in the with block are performed in the given hou.updateMode, and that the updateMode is restored when the block exits.


The documentation for this class was generated from the following file: