GetMappingInfoById Method


IFCCategory Template Get Mapping Info By Id Method

Gets a copy of IFC mapping info by category id.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ExportIFCCategoryInfo GetMappingInfoById(
	Document document,
	ElementId categoryId,
	CustomSubCategoryId customSubCategoryId
)

Parameters

document Document
A Revit document.
categoryId ElementId
The category id.
customSubCategoryId CustomSubCategoryId
The custom subcategory id.

Return Value

ExportIFCCategoryInfo
Return the info for this category.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →