ImportOptions.filename Property

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

Description

Gets and sets the filename or URL of the file to be imported.

Syntax

"importOptions_var" is a variable referencing an ImportOptions object.

# Get the value of the property.
propertyValue = importOptions_var.filename

# Set the value of the property.
importOptions_var.filename = propertyValue
"importOptions_var" is a variable referencing an ImportOptions object.
#include <Core/Application/ImportOptions.h>

// Get the value of the property.
string propertyValue = importOptions_var->filename();

// Set the value of the property, where value_var is a string.
bool returnValue = importOptions_var->filename(value_var);

Property Value

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

Version

Introduced in version September 2015