None.
None.
Signature | Parameters | Description |
---|---|---|
MArgDatabase(syntax, args) | syntax - MSyntax
args - MArgList |
Creates a new MArgDatabase object which will parse args using the provided syntax. |
None.
Signature | Parameters | Returns | Description |
---|---|---|---|
commandArgumentMSelectionList(index) | index - int | MSelectionList | Returns the specified command argument in an MSelectionList. Raises TypeError if the argument cannot be placed in an MSelectionList. Raises IndexError if index is out of range. |
flagArgumentMSelectionList(flag, index) | flag - string
index - int |
MSelectionList | Returns the index'th argument of the specified flag in an MSelectionList. Raises TypeError if the argument cannot be placed in an MSelectionList. Raises IndexError if index is out of range. |
getObjectList() | MSelectionList | Returns the list of objects passed to the command as an MSelectionList. |
None.
None.
None.
None.
Default.
Default.
© 2011 Autodesk, Inc. All rights reserved.