FlatPatternProduct.activeOccurrence Property

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

"flatPatternProduct_var" is a variable referencing a FlatPatternProduct object.

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

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

Property Value

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

Version

Introduced in version October 2022