UserInterface.createFileDialog Method

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

Description

Creates a new FileDialog object which provides the ability to show a standard file selection dialog to the user.

Syntax

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

#include <Core/UserInterface/UserInterface.h>

returnValue = userInterface_var->createFileDialog();

Return Value

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

Samples

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

Version

Introduced in version August 2014