API Reference > Classes > Export Classes > TB_IFCEXPORT Namespace > Classes > CategoryUtil Class
CategoryUtil Class
Syntax
C++
class CategoryUtil;

TbIfcCategoryUtil.h

Provides static methods for category related manipulations.

Creates material association with inputs of 2 IFCAnyHandle. It is used for example to create material relation between an instance and its material set usage
 
 
Creates an association between a material handle and an instance handle.
 
Creates an association between a list of material handles and an instance handle.
 
Gets material id of the category of an element.
 
Gets the color of the material of the category of an element.
 
Gets the element color and opacity from the material associated with an element's category, if any.
 
Gets material handle from material id or creates one if there is none.
 
 
Returns the original color if it is valid, or a default color (grey) if it isn't.
 
Checks if element is external.
 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.