Appearances.itemById Method

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

Description

Returns the Appearance by it's internal unique ID.

Syntax

"appearances_var" is a variable referencing an Appearances object.
returnValue = appearances_var.itemById(id)
"appearances_var" is a variable referencing an Appearances object.

#include <Core/Materials/Appearances.h>

returnValue = appearances_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