Design.activeOccurrence Property

Parent Object: Design
Defined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/Design.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

"design_var" is a variable referencing a Design object.

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

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

Property Value

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

Version

Introduced in version January 2016