License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Archicad C++ API
About Archicad add-on development using the C++ API.

How to realise the folder dialog?

Anonymous
Not applicable
Hi.
I would like to filter the “files of type” to only folders, not seeing any other types of files.

DG::FileDialog dlg(DG::FileDialog::OpenFolder);
	OpenFolderDialogObserver dialogObserver(&dlg);
	if (!dlg.Invoke()) {
		return;
	}
I implement the IncludeFile function in The OpenFolderDialogObserver .But the method is invalid.
Thanks.
4 REPLIES 4
Ralph Wessel
Mentor
Does this thread help?
Ralph Wessel BArch
Software Engineer Speckle Systems
Anonymous
Not applicable
Ralph wrote:
Does this thread help?
I have tried the method mentioned above, but it didn't work.
akomporday
Graphisoft Alumni
Graphisoft Alumni
Hey Jerry,
What exactly was the problem with the solution in the above thread?
Anonymous
Not applicable
Hi akomporday.

I implement the IncludeFile function in The OpenFolderDialogObserver.

But when the dialog is opened, I can still choose other types of files.

Actually I want to filter the “files of type” to only folders, not seeing any other types of files