FlatPatternComponent.material Property

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

Description

Gets and sets the physical material assigned to this component.

Syntax

"flatPatternComponent_var" is a variable referencing a FlatPatternComponent object.

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

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

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

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

Property Value

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

Version

Introduced in version October 2022