MaterialLibrary.name Property

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

Description

Property that gets the name of this Library. This is the localized name shown in the user interface.

Syntax

"materialLibrary_var" is a variable referencing a MaterialLibrary object.

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

// Get the value of the property.
string propertyValue = materialLibrary_var->name();

Property Value

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

Version

Introduced in version August 2014