Cortex  10.0.0-a4
Public Member Functions | List of all members
IECoreMaya.TemporaryAttributeValues Class Reference

A context manager for controlling attribute values in with statements. More...

Public Member Functions

def __init__ (self, attributeAndValues={}, kw)
 
def __enter__ (self)
 
def __exit__ (self, type, value, traceBack)
 

Detailed Description

A context manager for controlling attribute values in with statements.

It sets attributes to requested values on entering the block and resets them to their previous values on exiting the block.


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