globalmapper.SelectFile ======================= .. currentmodule:: globalmapper .. py:function:: SelectFile (str aFilterStr, str aInitialDir, HWND aParentWnd) -> GM_Error_t32, str Displays a file dialog that allows the user to select a file to load. After the user selects a valid file, the function will return a Python list of two items: the error code of the operation (generally will be 0) and the name of the selected file. :param str aFilterStr: filter str for open dialog (None for default) :param str aInitialDir: initial directory to start in (None for current) :param HWND aParentWnd: handle to parent window for file selection dialog :returns: Error Code :rtype: GM_Error_t32 :returns: The selected file's path/name :rtype: str