Hello Geogirl,
Currently API command do not support definition of the default folder, but you get workaround it with the following call:
Metashape.app.settings.setValue("folders/python", "C:/NewDefaultFolder/")
path = Metashape.app.getExistingDirectory()