FlatPatternComponent.activeSheetMetalRule Property

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

Description

Gets and sets the active sheet metal rule. This can return null in the case where the component has never contained any sheet metal related data.

Syntax

"flatPatternComponent_var" is a variable referencing a FlatPatternComponent object.

# Get the value of the property.
propertyValue = flatPatternComponent_var.activeSheetMetalRule

# Set the value of the property.
flatPatternComponent_var.activeSheetMetalRule = propertyValue
"flatPatternComponent_var" is a variable referencing a FlatPatternComponent object.
#include <Fusion/SheetMetal/FlatPatternComponent.h>

// Get the value of the property.
Ptr<SheetMetalRule> propertyValue = flatPatternComponent_var->activeSheetMetalRule();

// Set the value of the property, where value_var is a SheetMetalRule.
bool returnValue = flatPatternComponent_var->activeSheetMetalRule(value_var);

Property Value

This is a read/write property whose value is a SheetMetalRule.

Version

Introduced in version November 2022