BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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
Anonymous
Not applicable
Ralph wrote:
Does this thread help?
I have tried the method mentioned above, but it didn't work.
akomporday
Graphisoft
Graphisoft
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
Learn and get certified!