pymel.util.utilitytypes.propertycache — PyMEL 1.0.7 documentation

pymel.util.utilitytypes.propertycache

Inheritance diagram of propertycache

class propertycache(func)

Class for creating properties where the value is initially calculated then stored.

Intended for use as a descriptor, ie:

class MyClass(object):

@propertycache def aValue(self):

return calcValue()

c = MyClass() c.aValue