globalmapper.SetMiscOption ================================ .. currentmodule:: globalmapper .. py:function:: SetMiscOption (GM_MiscOpt_t32 aOpt, uint8 aNewValue) -> uint8 DEPRECATED: Use :doc:`SetMiscOptionEx` instead, since this function can't handle options that take values over 8 bits in length, like GM_MiscOpt_SetLogFilename and GM_MiscOpt_SetTimingsFileName. Sets an advanced/miscellaneous option to use during operation. Returns the previous value. :param GM_MiscOpt_t32 aOpt: Option to set :param uint8 aNewValue: New value (i.e. 1 to enable or 0 to disable), or value of other setting :returns: The value of the previous option :rtype: uint8