MaterialLibrary.materials Property

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

Description

Returns the materials defined within this library.

Syntax

"materialLibrary_var" is a variable referencing a MaterialLibrary object.

# Get the value of the property.
propertyValue = materialLibrary_var.materials
"materialLibrary_var" is a variable referencing a MaterialLibrary object.
#include <Core/Materials/MaterialLibrary.h>

// Get the value of the property.
Ptr<Materials> propertyValue = materialLibrary_var->materials();

Property Value

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

Version

Introduced in version August 2014