Python API 2.0 Reference: OpenMaya.MFnDisplayLayer Class Reference

+ Inheritance diagram for OpenMaya.MFnDisplayLayer:

Public Member Functions

__init__ ()
 
add ()
 
contains ()
 
containsAncestorInclusive ()
 
getMembers ()
 
remove ()
 
- Public Member Functions inherited from OpenMaya.MFnDependencyNode
__init__ ()
 
absoluteName ()
 
addAttribute ()
 
addExternalContentForFileAttr ()
 
affectsAnimation ()
 
attribute ()
 
attributeClass ()
 
attributeCount ()
 
canBeWritten ()
 
create ()
 
dgCallbackIds ()
 
dgCallbacks ()
 
dgTimer ()
 
dgTimerOff ()
 
dgTimerOn ()
 
dgTimerQueryState ()
 
dgTimerReset ()
 
findAlias ()
 
findPlug ()
 
getAffectedAttributes ()
 
getAffectingAttributes ()
 
getAliasAttr ()
 
getAliasList ()
 
getConnections ()
 
getExternalContent ()
 
hasAttribute ()
 
hasUniqueName ()
 
isFlagSet ()
 
isNewAttribute ()
 
isTrackingEdits ()
 
name ()
 
plugsAlias ()
 
removeAttribute ()
 
reorderedAttribute ()
 
setAffectsAnimation ()
 
setAlias ()
 
setDoNotWrite ()
 
setExternalContent ()
 
setExternalContentForFileAttr ()
 
setFlag ()
 
setName ()
 
setUuid ()
 
uniqueName ()
 
userNode ()
 
uuid ()
 
- Public Member Functions inherited from OpenMaya.MFnBase
__init__ ()
 
hasObj ()
 
object ()
 
setObject ()
 
type ()
 

Static Public Member Functions

__new__ ()
 
- Static Public Member Functions inherited from OpenMaya.MFnDependencyNode
__new__ ()
 
allocateFlag ()
 
classification ()
 
deallocateAllFlags ()
 
deallocateFlag ()
 
- Static Public Member Functions inherited from OpenMaya.MFnBase
__new__ ()
 

Additional Inherited Members

- Static Public Attributes inherited from OpenMaya.MFnDependencyNode
int kTimerMetrics = 9
 
int kTimerTypes = 3
 
int kExtensionAttr = 3
 
int kInvalidAttr = 4
 
int kLocalDynamicAttr = 1
 
int kNormalAttr = 2
 
int kTimerInvalidState = 3
 
int kTimerOff = 0
 
int kTimerOn = 1
 
int kTimerUninitialized = 2
 
int kTimerMetric_callback = 0
 
int kTimerMetric_callbackNotViaAPI = 6
 
int kTimerMetric_callbackViaAPI = 5
 
int kTimerMetric_compute = 1
 
int kTimerMetric_computeDuringCallback = 7
 
int kTimerMetric_computeNotDuringCallback = 8
 
int kTimerMetric_dirty = 2
 
int kTimerMetric_draw = 3
 
int kTimerMetric_fetch = 4
 
int kTimerType_count = 2
 
int kTimerType_inclusive = 1
 
int kTimerType_self = 0
 
- Properties inherited from OpenMaya.MFnDependencyNode
 isDefaultNode
 
 isFromReferencedFile
 
 isLocked
 
 isShared
 
 namespace
 
 pluginName
 
 typeId
 
 typeName
 

Detailed Description

Function set display layer.

__init__()
Initializes a new, empty MFnDisplayLayer object.

Method resolution order:
-   MFnDisplayLayer
-   OpenMaya.MFnDependencyNode
-   OpenMaya.MFnBase
-   builtins.object

Constructor & Destructor Documentation

OpenMaya.MFnDisplayLayer.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

OpenMaya.MFnDisplayLayer.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
OpenMaya.MFnDisplayLayer.add ( )
add(item) -> status
Adds the item to the display layer, where item can be a Ufe path string
(MString) or a Maya path (MDagPath).
OpenMaya.MFnDisplayLayer.contains ( )
contains(item) -> bool
Returns true if the item is in the display layer, where item can be a Ufe
path string (MString) or a Maya path (MDagPath).
OpenMaya.MFnDisplayLayer.containsAncestorInclusive ( )
containsAncestorInclusive(item) -> status
Returns true if the item or one of its ancestors is in the display layer,
 where item can be a Ufe path string (MString) or a Maya path (MDagPath).
OpenMaya.MFnDisplayLayer.getMembers ( )
getMembers(members) -> status
Get the members of the display layer
OpenMaya.MFnDisplayLayer.remove ( )
remove(item) -> status
Removes the item to the display layer, where item can be a Ufe path string
(MString) or a Maya path (MDagPath).