Occurrences.asArray Method

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

Description

Get the current list of all occurrences. The occurrences are returned in the same order as they appear in the browser.

Syntax

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

#include <Fusion/Components/Occurrences.h>

returnValue = occurrences_var->asArray();

Return Value

Type Description
Occurrence[] Returns the current list of all occurrences.

Version

Introduced in version November 2021