RVTDocs.com

ExporterIFCUtils.GetIFCClassNameByCategory

Method
Description:
Obtains the IFC class name associated to a given category id for the current export.
Remarks:
IFC class names are affected by the user's entries in the mapping file set for a given export operation.
Syntax
[ObsoleteAttribute("This function is deprecated in Revit 2025.  Please use ExporterIFC.GetCategoryMappingTable instead.")]
public static string GetIFCClassNameByCategory(
	ElementId catId,
	ExporterIFC exporterIFC
)
Parameters
Parameter Type Description
catId ElementId The category id.
exporterIFC ExporterIFC The exporter.
Return Value
Type Description
String The IFC class name. This is an empty string if the element should not be exported because it is not found in the mapping file.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null