4.3.10 MGlobal

The following MGlobal methods differ from their C++ counterparts.

getOptionVarValueInt( name)
This is the wrapper for MGlobal::getOptionVarValue(const MString & name, int& value). The return value is a tuple (bool, int).

getOptionVarValueFloat( name)
This is the wrapper for MGlobal::getOptionVarValue(const MString & name, double& value). The return value is a tuple (bool, float).

getOptionVarValueStr( name)
This is the wrapper for MGlobal::getOptionVarValue(const MString & name, MString& value). The return value is a tuple (bool, MString).