|
|
|
_makeElementPlug(masterPlug,
dataID)
Find an empty logical plug index and return the newly created
logical plug with given dataID - unconditionally |
source code
|
|
|
storagePlug(masterPlug,
dataID,
plugType=None,
autoCreate=False)
Returns:
plug of the given type, either as tuple of two plugs or the plug
specified by plugType |
source code
|
|
|
makePlug(masterPlug,
dataID)
retrieve or create a plug that corresponds to the given dataID... |
source code
|
|
|
|
|
partition(mdplug)
Returns:
parition node attached to the sets of the given message data plug or None |
source code
|
|
|
objectSet(mdplug,
setIndex,
autoCreate=True,
setPrefix='')
Get an object set identified with setIndex at the given dataId |
source code
|
|
|
dataIDs(masterPlug,
data_prefix='')
Returns:
list of all data ids available in the given master plug |
source code
|
|
|
setPartition(mdplug,
state)
Make all sets of the given data message plug use a partition or not
:param state: if True, a partition will be used, if False, it will be disabled
:note: this method makes sure that all sets are hooked up to the partition
:raise ValueError: If we did not have a single set to which to add to the partition
:raise AttributeError: If the dataID has never had sets
:return: if state is True, the name of the possibly created (or existing) partition |
source code
|
|
|
clearDataPlug(vdplug)
Clear the data in the given value data plug |
source code
|
|
|
|
|
|