OpenMaya.MFnReference Class Reference
Function set for reference nodes.
Method resolution order:
- MFnReference
- MFnDependencyNode
- MFnBase
- __builtin__.object
OpenMaya.MFnReference.__init__ |
( |
| ) |
|
x.__init__(...) initializes x; see help(type(x)) for signature
OpenMaya.MFnReference.associatedNamespace |
( |
| ) |
|
associatedNamespace(bool shortName) -> MString
Returns the namespace associated with this reference.
OpenMaya.MFnReference.containsNode |
( |
| ) |
|
containsNode(MObject) -> bool
Returns true if the specified node is from this reference or one of its child references. The containsNodeExactly method can be used to test membership without including the child references.
OpenMaya.MFnReference.containsNodeExactly |
( |
| ) |
|
containsNodeExactly(MObject) -> bool
Returns true if the specified node is from this reference. Membership in child references is not checked. The containsNode method may be used to test membership in a reference and its child references.
OpenMaya.MFnReference.fileName |
( |
| ) |
|
fileName(bool resolvedName, bool includePath, bool includeCopyNumber) -> MString
Returns the name of file associated with this reference.
OpenMaya.MFnReference.ignoreReferenceEdits |
( |
| ) |
|
|
static |
ignoreReferenceEdits() -> bool
Indicates whether reference edits will be tracked and logged or not.
OpenMaya.MFnReference.isExportEditsFile |
( |
| ) |
|
isExportEditsFile() -> bool
Returns true if the reference is an export edits file. An export edits file is a file of type '.editMA' or '.editMB' which was created using Maya's offline file functionality.
OpenMaya.MFnReference.isLoaded |
( |
| ) |
|
isLoaded() -> bool
Returns true if the reference is loaded.
OpenMaya.MFnReference.isLocked |
( |
| ) |
|
isLocked() -> bool
Returns true if the reference is locked or if the referenced file was saved as locked.
OpenMaya.MFnReference.nodes |
( |
| ) |
|
nodes() -> MObjectArray
Returns an array of the nodes associated with this reference.
OpenMaya.MFnReference.parentAssembly |
( |
| ) |
|
parentAssembly() -> MObject
Returns the parent assembly node that contains this reference. See MFnAssembly documentation for more details.
OpenMaya.MFnReference.parentFileName |
( |
| ) |
|
parentFileName(bool resolvedName, bool includePath, bool includeCopyNumber) -> MString
Returns the name of parent file associated with this reference.
OpenMaya.MFnReference.parentReference |
( |
| ) |
|
parentReference() -> MObject
Returns the reference node associated with the parent reference.
OpenMaya.MFnReference.setIgnoreReferenceEdits |
( |
| ) |
|
|
static |
setIgnoreReferenceEdits(bool) -> None
Specify whether reference edits should be tracked and logged or not.
This should be treated as a temporary state and should be enabled
around a batch of operations where reference edits should be ignored.
Restore the previous value when the batch of operations is complete.