A storage node contains a set of attributes allowing it to store
python data and objects being stored in a pickled format upon file save.
Additionally you can store connections.
Nodes used with this interface must be compatible to the following attribute scheme.
To create that scheme, use createStorageAttribute
|
|
|
|
|
|
|
|
setDataPrefix(self,
prefix)
Change the data prefix to the given value string |
source code
|
|
|
|
|
|
|
|
|
|
setAttributePrefix(self,
prefix)
Change the prefix with which to access to the actual storage data attributes on our node
to the given string |
source code
|
|
|
Inherited from interface.iDuplicatable:
copyTo,
copyToOther,
duplicate
Inherited from interface.Interface:
supports
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
__init__(self,
data_prefix='',
maya_node=None,
attr_prefix='')
Allows customization of this base to modify its behaviour
:note: see more information on the input attributes in the class description |
source code
|
|
|
|
makePlug(self,
dataID)
see makePlug module level function |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dataIDs(self)
see module level function with the same name |
source code
|
|
|
|
storagePlug(self,
dataID,
plugType=None,
autoCreate=False)
see storagePlug module level function |
source code
|
|
|
|
pythonData(self,
dataID,
**kwargs)
Returns:
PyPickleVal object at the given index (it can be modified natively) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
partition(self,
dataID)
Returns:
partition Node attached to the sets at dataID or None if state is disabled |
source code
|
|
|
|
|
|
|
|