Trees | Indices | Help |
---|
|
object --+ | dict --+ | classNode
wraps a maya node as if it was a dictionary. Attrs are dictionary keys and adding a new key will add and attribute in the node. this class makes use of color/vector classes (color.py and vector.py) to create color/vectors attributes see slum for more info about color/vector classes
classNode also have some special methods that wraps some really usefull api methods, like setConnectable and setInternal. Also, some low level api methos to return an MObject of the node, a MFnDependecyNode object of the node and MFnAttribute of the specified key (attribute)
|
|||
_dict _classNode = classNode that own this data key = original key(attr) in the classnode index = all the keys that are needed to get to this data from the original classNode attr(list) |
|
|||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
list of D's keys |
|
||
True if D has a key k, else False |
|
||
None |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
x[i]=y
|
x[y]
|
repr(x)
|
str(x)
|
len(x)
|
|
|
Update D from dict/iterable E and F. If E has a .keys() method, does: for k in E: D[k] = E[k] If E lacks .keys() method, does: for (k, v) in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
|
del x[y]
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Oct 28 16:21:54 2010 | http://epydoc.sourceforge.net |