Share

Material.description Property

Parent Object: Material
Defined in namespace "adsk::core" and the header file is <Core/Materials/Material.h>

Description

Gets and sets the description associated with this material. Setting the description is only valid for materials in a document or the favorites list.

Syntax

"material_var" is a variable referencing a Material object.

# Get the value of the property.
propertyValue = material_var.description

# Set the value of the property.
material_var.description = propertyValue

Property Value

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

Version

Introduced in version July 2023

Was this information helpful?