OpenMaya.MExternalContentLocationTable Class Reference

OpenMaya.MExternalContentLocationTable Class Reference
+ この参照ページは、次の概要トピックと関連付けられています。

Class Description

This is a table of the all the external content locations for a given node.
+ Inheritance diagram for OpenMaya.MExternalContentLocationTable:

Public Member Functions

__getitem__ ()
 
__init__ ()
 
__len__ ()
 
addEntry ()
 
getEntry ()
 
getLocation ()
 

Constructor & Destructor Documentation

OpenMaya.MExternalContentLocationTable.__init__ ( )
x.__init__(...) initializes x; see help(type(x)) for signature

Member Function Documentation

OpenMaya.MExternalContentLocationTable.__getitem__ ( )
x.__getitem__(y) <==> x[y]
OpenMaya.MExternalContentLocationTable.__len__ ( )
x.__len__() <==> len(x)
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.
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.
OpenMaya.MExternalContentLocationTable.getLocation ( )
getLocation(key) -> string

Retrieves an entry's location based on the associated key.

* key (string) - See documentation of MExternalContentLocationTable.addEntry().