Python API 2.0 Reference
|
Public Member Functions | |
def | __getitem__ () |
def | __init__ () |
def | __len__ () |
def | addEntry () |
def | getEntry () |
def | getLocation () |
Static Public Member Functions | |
def | __new__ () |
This is a table of the all the external content locations for a given node.
def OpenMaya.MExternalContentLocationTable.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
def OpenMaya.MExternalContentLocationTable.__getitem__ | ( | ) |
Return self[key].
def OpenMaya.MExternalContentLocationTable.__len__ | ( | ) |
Return len(self).
|
static |
Create and return a new object. See help(type) for accurate signature.
def OpenMaya.MExternalContentLocationTable.addEntry | ( | ) |
addEntry(key, location) -> self Adds an external content location and its key to the table. * key (string) - An arbitrary string defined by the node. This will typically be an attribute name for situations where the content location is stored verbatim in a plug's value.* location (string) - Full path to the content referenced by the key.
def OpenMaya.MExternalContentLocationTable.getEntry | ( | ) |
getEntry(index) -> [key, location] Retrieves external content entry based on its position in the table. * index (unsigned int) - Position of the entry to retrieve information from.
def OpenMaya.MExternalContentLocationTable.getLocation | ( | ) |
getLocation(key) -> string Retrieves an entry's location based on the associated key. * key (string) - See documentation of MExternalContentLocationTable.addEntry().