DataProjects.itemById Method

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

Description

Returns the project specified using the ID of the project.

Syntax

"dataProjects_var" is a variable referencing a DataProjects object.
returnValue = dataProjects_var.itemById(id)
"dataProjects_var" is a variable referencing a DataProjects object.

#include <Core/Dashboard/DataProjects.h>

returnValue = dataProjects_var->itemById(id);

Return Value

Type Description
DataProject Returns the project or null if a project with the specified ID is not found.

Parameters

Name Type Description
id string The ID of the project to return. This is the same ID used by the APS Data Management API.

Version

Introduced in version December 2020