materials_compendium.utils.Material.get_mat_num

Material.get_mat_num()[source]

Get the material number.

Returns:

The material number.

Return type:

int

Example

print(material.get_mat_num()) # Output: 12