WorkingModel.activeOccurrence Property

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

Description

Returns the occurrence that is currently activated, if any. This can return null in the case where no occurrence is activated and the root component is active.

Syntax

"workingModel_var" is a variable referencing a WorkingModel object.

# Get the value of the property.
propertyValue = workingModel_var.activeOccurrence
"workingModel_var" is a variable referencing a WorkingModel object.
#include <Fusion/Fusion/WorkingModel.h>

// Get the value of the property.
Ptr<Occurrence> propertyValue = workingModel_var->activeOccurrence();

Property Value

This is a read only property whose value is an Occurrence.

Version

Introduced in version January 2024