UserInterface.createFolderDialog Method

Parent Object: UserInterface
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/UserInterface.h>

Description

Creates a new FolderDialog object which provides the ability to show a standard folder selection dialog to the user.

Syntax

"userInterface_var" is a variable referencing a UserInterface object.
returnValue = userInterface_var.createFolderDialog()
"userInterface_var" is a variable referencing a UserInterface object.

#include <Core/UserInterface/UserInterface.h>

returnValue = userInterface_var->createFolderDialog();

Return Value

Type Description
FolderDialog Returns the created FolderDialog object that you can use to define the contents of and display a standard folder dialog.

Samples

Name Description
File Dialog Sample Demonstrating how to pop up a file dialog and a folder dialog.

Version

Introduced in version September 2017