Share

MaterialPreferences.defaultMaterial Property

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

Description

Gets and sets the default material.

Syntax

"materialPreferences_var" is a variable referencing a MaterialPreferences object.

# Get the value of the property.
propertyValue = materialPreferences_var.defaultMaterial

# Set the value of the property.
materialPreferences_var.defaultMaterial = propertyValue

Property Value

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

Version

Introduced in version August 2014

Was this information helpful?