The following MArgParser methods differ from their C++ counterparts.
flag, index, status=None) |
MStatus getFlagArgument(const char* flag, unsigned int index, bool& result)
method. The function returns a boolean value and takes an additional optional
MStatus object as input.
flag, index, status=None) |
MStatus getFlagArgument(const char* flag, unsigned int index, int& result)
method. The function returns an integer value and takes an additional optional
MStatus object as input.
flag, index, status=None) |
MStatus getFlagArgument(const char* flag, unsigned int index, unsigned int& result)
method. The function returns an integer value and takes an additional optional
MStatus object as input.
flag, index, status=None) |
MStatus getFlagArgument(const char* flag, unsigned int index, double& result)
method. The function returns a double value and takes an additional optional
MStatus object as input.
index, status=None) |
MStatus getCommandArgument(unsigned int index, bool& result)
method. The function returns a boolean value and takes an additional optional
MStatus object as input.
index, status=None) |
MStatus getCommandArgument(unsigned int index, int& result)
method. The function returns an integer value and takes an additional optional
MStatus object as input.
index, status=None) |
MStatus getCommandArgument(unsigned int index, double& result)
method. The function returns a double value and takes an additional optional
MStatus object as input.