ConfigurationMaterialCell.material Property

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

Description

Gets and sets the material associated with this cell. When setting this property, the material used must exist in the design.

Syntax

"configurationMaterialCell_var" is a variable referencing a ConfigurationMaterialCell object.

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

# Set the value of the property.
configurationMaterialCell_var.material = propertyValue
"configurationMaterialCell_var" is a variable referencing a ConfigurationMaterialCell object.
#include <Fusion/Configurations/ConfigurationMaterialCell.h>

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

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

Property Value

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

Version

Introduced in version January 2024