On 21/02/2016 at 03:22, xxxxxxxx wrote:
I know two ways to search for a folder, but I do not how to set the folder where to start the search.
For example, search for a folder in c:/temp?
Both ways do not start with c:/temp
path = c4d.storage.LoadDialog(c4d.FILESELECTTYPE_ANYTHING,
"Please choose a folder", c4d.FILESELECT_DIRECTORY, "", "c:/temp")
settings = c4d.BaseContainer()
settings.SetBool(c4d.FILENAME_DIRECTORY, True);
self._filename = self.AddCustomGui(10112, c4d.CUSTOMGUI_FILENAME, "", c4d.BFH_SCALEFIT, 50, 10, settings)
self.SetString(10112, "C:/temp/")