FileDialog.showSave Method
Parent Object:
FileDialogDefined in namespace "adsk::core" and the header file is <Core/UserInterface/FileDialog.h>
Description
Displays a modal save dialog, allowing the user to specify a file. The return value can be used to determine if the dialog was canceled without selecting a file. The Filename and Filenames properties can be used to get the selected files.
Syntax
"fileDialog_var" is a variable referencing a FileDialog object.returnValue = fileDialog_var.showSave()
|
"fileDialog_var" is a variable referencing a FileDialog object.
#include <Core/UserInterface/FileDialog.h>
returnValue = fileDialog_var->showSave();
|
Return Value
DialogResults |
Returns an enum value indicating which button was clicked on the dialog. |
Samples
Version
Introduced in version August 2014