Share

FileDialog.initialDirectory Property

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

Description

Gets or sets the initial directory displayed by the file dialog box.

Syntax

"fileDialog_var" is a variable referencing a FileDialog object.

# Get the value of the property.
propertyValue = fileDialog_var.initialDirectory

# Set the value of the property.
fileDialog_var.initialDirectory = propertyValue

Property Value

This is a read/write property whose value is a string.

Version

Introduced in version August 2014

Was this information helpful?