PlasticRule.isDefault Property

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

"plasticRule_var" is a variable referencing a PlasticRule object.

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

# Set the value of the property.
plasticRule_var.isDefault = propertyValue
"plasticRule_var" is a variable referencing a PlasticRule object.
#include <Fusion/Plastic/PlasticRule.h>

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

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

Property Value

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

Version

Introduced in version January 2024