Material.deleteMe Method

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

Description

Deletes the material from the Design. This method only applies to materials in a Design that are unused

Syntax

"material_var" is a variable referencing a Material object.
returnValue = material_var.deleteMe()
"material_var" is a variable referencing a Material object.

#include <Core/Materials/Material.h>

returnValue = material_var->deleteMe();

Return Value

Type Description
boolean Returns true if the delete was successful.

Version

Introduced in version August 2014