SheetMetalRule.isDefault Property

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

Description

This gets and sets which rule in a library is the default rule. This is only valid for rules in a library and will fail for rules in a design.

Syntax

"sheetMetalRule_var" is a variable referencing a SheetMetalRule object.

# Get the value of the property.
propertyValue = sheetMetalRule_var.isDefault

# Set the value of the property.
sheetMetalRule_var.isDefault = propertyValue
"sheetMetalRule_var" is a variable referencing a SheetMetalRule object.
#include <Fusion/SheetMetal/SheetMetalRule.h>

// Get the value of the property.
boolean propertyValue = sheetMetalRule_var->isDefault();

// Set the value of the property, where value_var is a boolean.
bool returnValue = sheetMetalRule_var->isDefault(value_var);

Property Value

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

Version

Introduced in version November 2022