PlasticRule.thickness Property

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

Description

The thickness used for plastic features. This value must be within the range specified by the minimumThickness and maximumThickness properties. This is used by the plastic commands when a wall thickness is needed.

When using a float to set the value, it is defined in centimeters. When using a string to set the expression, the units can be defined as part of the expression or it defaults to the units associated with the rule if no units are specified.

Syntax

"plasticRule_var" is a variable referencing a PlasticRule object.

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

// Get the value of the property.
Ptr<PlasticRuleValue> propertyValue = plasticRule_var->thickness();

Property Value

This is a read only property whose value is a PlasticRuleValue.

Version

Introduced in version January 2024