FavoriteMaterials.count Property

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

Description

The number of Materials in the collection.

Syntax

"favoriteMaterials_var" is a variable referencing a FavoriteMaterials object.

# Get the value of the property.
propertyValue = favoriteMaterials_var.count
"favoriteMaterials_var" is a variable referencing a FavoriteMaterials object.
#include <Core/Materials/FavoriteMaterials.h>

// Get the value of the property.
uinteger propertyValue = favoriteMaterials_var->count();

Property Value

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

Version

Introduced in version August 2014