Return a sequence of arguments as an MPoint. ValueError will be raised if numElements is greater than 4 as that is the maximum dimension for an MPoint. IndexError will be raised if index is out of bounds
OpenMaya.MArgList.asString
(
)
asString(index) -> string
Return an argument as a string.
Signature:
asString(index)
Parameters:
index - int
Returns:
string
Description:
Return an argument as a string. IndexError will be raised if index is out of bounds.
OpenMaya.MArgList.asStringArray
(
)
asStringArray(index) -> list of strings
Return a sequence of arguments as a list of strings.
Signature:
asStringArray(index)
Parameters:
index - int
Returns:
list of strings
Description:
Return a sequence of arguments as a list of strings. IndexError will be raised if index is out of bounds.
OpenMaya.MArgList.asTime
(
)
asTime(index) -> MTime
Return an argument as an MTime.
Return a sequence of arguments as an MVector. ValueError will be raised if numElements is greater than 3 as that is the maximum dimension for an MVector. IndexError will be raised if index is out of bounds.
OpenMaya.MArgList.flagIndex
(
)
flagIndex(shortFlag, longFlag=None) -> int
Return index of first occurrence of specified flag.
Signature:
flagIndex(shortName, longName=None)
Parameters:
shortName - string
longName - string
Returns:
int
Description:
Return the index of the first occurrence of the specified flag or kInvalidFlagIndex if the flag is not in the arg list.
OpenMaya.MArgList.lastArgUsed
(
)
lastArgUsed() -> int
Return index of last argument used by the most recent as*() method.