CloudFileDialog.dataFile Property

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

Description

Gets the DataFile selected by the user in the dialog. This property is used after the ShowOpen method has been called to retrieve the filename specified by the user.

If ShowOpen was used and isMultiSelectEnabled is true, then this property will only display the first DataFile selected and the dataFiles property should be used instead to retrieved the full list. If ShowSave was used, then only a single DataFile is ever returned.

Syntax

"cloudFileDialog_var" is a variable referencing a CloudFileDialog object.

# Get the value of the property.
propertyValue = cloudFileDialog_var.dataFile
"cloudFileDialog_var" is a variable referencing a CloudFileDialog object.
#include <Core/UserInterface/CloudFileDialog.h>

// Get the value of the property.
Ptr<DataFile> propertyValue = cloudFileDialog_var->dataFile();

Property Value

This is a read only property whose value is a DataFile.

Version

Introduced in version October 2022