Attributes.item Method

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

Description

Returns the specified attribute using an index into the collection.

Syntax

"attributes_var" is a variable referencing an Attributes object.
returnValue = attributes_var.item(index)
"attributes_var" is a variable referencing an Attributes object.

#include <Core/Application/Attributes.h>

returnValue = attributes_var->item(index);

Return Value

Type Description
Attribute Returns the specified attribute or null if an invalid index was specified.

Parameters

Name Type Description
index uinteger The index of the attribute within the collection to return. The first item in the collection has an index of 0.

Version

Introduced in version May 2016