DesignDataFile.latestVersion Property

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

Description

Returns the latest version of the DataFile. It can return a reference to the same DataFile is this DataFile is the latest version.

Syntax

"designDataFile_var" is a variable referencing a DesignDataFile object.

# Get the value of the property.
propertyValue = designDataFile_var.latestVersion
"designDataFile_var" is a variable referencing a DesignDataFile object.
#include <Core/Dashboard/DesignDataFile.h>

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

Property Value

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

Version

Introduced in version October 2023