FavoriteAppearances.itemById Method

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

Description

Returns the Appearance by it's internal unique ID.

Syntax

"favoriteAppearances_var" is a variable referencing a FavoriteAppearances object.
returnValue = favoriteAppearances_var.itemById(id)
"favoriteAppearances_var" is a variable referencing a FavoriteAppearances object.

#include <Core/Materials/FavoriteAppearances.h>

returnValue = favoriteAppearances_var->itemById(id);

Return Value

Type Description
Appearance Returns the specified appearance or null if there isn't a matching ID.

Parameters

Name Type Description
id string The ID of the appearance to return.

Version

Introduced in version August 2014