x.__init__(...) initializes x; see help(type(x)) for signature
Member Function Documentation
OpenMaya.MAttributeIndex.__eq__
(
)
x.__eq__(y) <==> x==y
OpenMaya.MAttributeIndex.__ge__
(
)
x.__ge__(y) <==> x>=y
OpenMaya.MAttributeIndex.__gt__
(
)
x.__gt__(y) <==> x>y
OpenMaya.MAttributeIndex.__le__
(
)
x.__le__(y) <==> x<=y
OpenMaya.MAttributeIndex.__lt__
(
)
x.__lt__(y) <==> x<y
OpenMaya.MAttributeIndex.__ne__
(
)
x.__ne__(y) <==> x!=y
OpenMaya.MAttributeIndex.copy
(
)
copy(source) -> self
Copy data from source index.
* source (MAttributeIndex) - The source index to copy from
OpenMaya.MAttributeIndex.getLower
(
)
getLower() -> int/float
Returns the lower bound of the index.
OpenMaya.MAttributeIndex.getUpper
(
)
getUpper() -> int/float
Returns the upper bound of the index.
OpenMaya.MAttributeIndex.getValue
(
)
getValue() -> int/float
Returns the current value of the index.
Raises an exception if the index is a range.
OpenMaya.MAttributeIndex.hasLowerBound
(
)
hasLowerBound() -> bool
Returns True if a lower bound is specified.
OpenMaya.MAttributeIndex.hasRange
(
)
hasRange() -> bool
Returns True if a range was specified.
OpenMaya.MAttributeIndex.hasUpperBound
(
)
hasUpperBound() -> bool
Returns True if an upper bound is specified.
OpenMaya.MAttributeIndex.hasValidRange
(
)
hasValidRange() -> bool
Returns True if upper bound is greater than lower bound.
OpenMaya.MAttributeIndex.isBounded
(
)
isBounded() -> bool
Returns True if the index is bounded.
OpenMaya.MAttributeIndex.setLower
(
)
setLower(value) -> self
Sets the lower bound of the index.
OpenMaya.MAttributeIndex.setType
(
)
setType(type) -> self
Sets the type of attribute index.
See type() for a list of valid index types.
* type (int) - the index type to set
OpenMaya.MAttributeIndex.setUpper
(
)
setUpper(value) -> self
Sets the upper bound of the index.
OpenMaya.MAttributeIndex.setValue
(
)
setValue(value) -> self
Sets the value of the index.
Remark: calling this method with an integer value will change its type to kInteger, and subsequently calling with a float value will change it to kFloat.
OpenMaya.MAttributeIndex.type
(
)
type() -> int
Returns the type of attribute index.
Valid index types:
kInteger Integer index (e.g. mesh.cp[5])
kFloat Floating-poing index (e.g. curve.u[1.3])