Cortex
10.0.0-a4
|
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) |
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.