FolderDialog.showDialog Method
Parent Object:
FolderDialogDefined in namespace "adsk::core" and the header file is <Core/UserInterface/FolderDialog.h>
Description
Displays a modal dialog allowing the user to select a folder. The return value can be used to determine if the dialog was canceled without selecting a folder. the folder property can be used to get the selected folder.
Syntax
"folderDialog_var" is a variable referencing a FolderDialog object.returnValue = folderDialog_var.showDialog()
|
"folderDialog_var" is a variable referencing a FolderDialog object.
#include <Core/UserInterface/FolderDialog.h>
returnValue = folderDialog_var->showDialog();
|
Return Value
DialogResults |
Returns an enum value indicating which button was clicked on the dialog. |
Samples
Version
Introduced in version September 2017