OpenMaya.MPlugArray Class Reference

OpenMaya.MPlugArray Class Reference

Class Description

Array of MPlug values.

The MPlugArray class provides an array of MPlug elements using a common array interface and reference semantics. See Working with M*Array Classes for more details.

 


+ Inheritance diagram for OpenMaya.MPlugArray:

Public Member Functions

__add__ ()
 
__contains__ ()
 
__delitem__ ()
 
__delslice__ ()
 
__getitem__ ()
 
__getslice__ ()
 
__iadd__ ()
 
__imul__ ()
 
__init__ ()
 
__len__ ()
 
__mul__ ()
 
__repr__ ()
 
__rmul__ ()
 
__setitem__ ()
 
__setslice__ ()
 
__str__ ()
 
append ()
 
clear ()
 
copy ()
 
insert ()
 
remove ()
 
setLength ()
 

Properties

 sizeIncrement
 

Constructor & Destructor Documentation

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

Member Function Documentation

OpenMaya.MPlugArray.__add__ ( )
x.__add__(y) <==> x+y
OpenMaya.MPlugArray.__contains__ ( )
x.__contains__(y) <==> y in x
OpenMaya.MPlugArray.__delitem__ ( )
x.__delitem__(y) <==> del x[y]
OpenMaya.MPlugArray.__delslice__ ( )
x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.
OpenMaya.MPlugArray.__getitem__ ( )
x.__getitem__(y) <==> x[y]
OpenMaya.MPlugArray.__getslice__ ( )
x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.
OpenMaya.MPlugArray.__iadd__ ( )
x.__iadd__(y) <==> x+=y
OpenMaya.MPlugArray.__imul__ ( )
x.__imul__(y) <==> x*=y
OpenMaya.MPlugArray.__len__ ( )
x.__len__() <==> len(x)
OpenMaya.MPlugArray.__mul__ ( )
x.__mul__(n) <==> x*n
OpenMaya.MPlugArray.__repr__ ( )
x.__repr__() <==> repr(x)
OpenMaya.MPlugArray.__rmul__ ( )
x.__rmul__(n) <==> n*x
OpenMaya.MPlugArray.__setitem__ ( )
x.__setitem__(i, y) <==> x[i]=y
OpenMaya.MPlugArray.__setslice__ ( )
x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.
OpenMaya.MPlugArray.__str__ ( )
x.__str__() <==> str(x)
OpenMaya.MPlugArray.append ( )
Add a value to the end of the array.
OpenMaya.MPlugArray.clear ( )
Remove all elements from the array.
OpenMaya.MPlugArray.copy ( )
Replace the array contents with that of another or of a compatible Python sequence.
OpenMaya.MPlugArray.insert ( )
Insert a new value into the array at the given index.
OpenMaya.MPlugArray.remove ( )
Remove an element from the array.
OpenMaya.MPlugArray.setLength ( )
Grow or shrink the array to contain a specific number of elements.

Property Documentation

OpenMaya.MPlugArray.sizeIncrement
static
 Number of elements by which to grow the array when necessary.