Occurrences.item Method

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

Description

Function that returns the specified occurrence using an index into the collection.

Syntax

"occurrences_var" is a variable referencing an Occurrences object.
returnValue = occurrences_var.item(index)
"occurrences_var" is a variable referencing an Occurrences object.

#include <Fusion/Components/Occurrences.h>

returnValue = occurrences_var->item(index);

Return Value

Type Description
Occurrence 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