DataHub.id Property

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

Description

Returns the unique ID for this hub. This is the same id used in the Forge Data Management API in an unencoded form and will look something like this: "a.45637".

Syntax

"dataHub_var" is a variable referencing a DataHub object.

# Get the value of the property.
propertyValue = dataHub_var.id
"dataHub_var" is a variable referencing a DataHub object.
#include <Core/Dashboard/DataHub.h>

// Get the value of the property.
string propertyValue = dataHub_var->id();

Property Value

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

Version

Introduced in version December 2020