Decals.itemByName Method

Parent Object: Decals
Defined in namespace "adsk::fusion" and the header file is <Fusion/Image/Decals.h>

Description

Returns the specified decal using the name of the decal.

Syntax

"decals_var" is a variable referencing a Decals object.
returnValue = decals_var.itemByName(name)
"decals_var" is a variable referencing a Decals object.

#include <Fusion/Image/Decals.h>

returnValue = decals_var->itemByName(name);

Return Value

Type Description
Decal Returns the specified Decal object, if it exists. Otherwise it returns null.

Parameters

Name Type Description
name string The name of the decal as seen in the browser and timeline.

Version

Introduced in version September 2024