Attributes.itemByName Method

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

Description

Returns the specified attribute using the name of the attribute.

Syntax

"attributes_var" is a variable referencing an Attributes object.
returnValue = attributes_var.itemByName(groupName, name)
"attributes_var" is a variable referencing an Attributes object.

#include <Core/Application/Attributes.h>

returnValue = attributes_var->itemByName(groupName, name);

Return Value

Type Description
Attribute Returns the specified attribute or null if no attribute exists with the specified name.

Parameters

Name Type Description
groupName string The name of the attribute group this attribute will belong to.
name string The name of the attribute.

Version

Introduced in version May 2016