BaseComponent.occurrencesByComponent Method

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

Description

Returns all occurrences at the top-level of this component that reference the specified component. The returned list is read-only.

Syntax

"baseComponent_var" is a variable referencing a BaseComponent object.
returnValue = baseComponent_var.occurrencesByComponent(component)
"baseComponent_var" is a variable referencing a BaseComponent object.

#include <Fusion/Components/BaseComponent.h>

returnValue = baseComponent_var->occurrencesByComponent(component);

Return Value

Type Description
OccurrenceList The occurrences referenced by the specified component.

Parameters

Name Type Description
component Component The component that is being referenced by the occurrences that will be returned.

Version

Introduced in version August 2014