DefaultUnitsPreferencesCollection.item Method

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

Description

Function that returns the specified DefaultUnitPreferences object using an index into the collection.

Syntax

"defaultUnitsPreferencesCollection_var" is a variable referencing a DefaultUnitsPreferencesCollection object.
returnValue = defaultUnitsPreferencesCollection_var.item(index)
"defaultUnitsPreferencesCollection_var" is a variable referencing a DefaultUnitsPreferencesCollection object.

#include <Core/Application/DefaultUnitsPreferencesCollection.h>

returnValue = defaultUnitsPreferencesCollection_var->item(index);

Return Value

Type Description
DefaultUnitsPreferences Returns the specified item or null if an invalid index was specified.

Parameters

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

Version

Introduced in version August 2014