IFCCategoryTemplate.GetMappingInfoById
Method
Description:
Gets a copy of ifc mapping info by category id.
Gets a copy of ifc mapping info by category id.
Syntax
public ExportIFCCategoryInfo GetMappingInfoById(
Document document,
ElementId categoryId,
CustomSubCategoryId customSubCategoryId
)
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | A Revit document. |
categoryId | ElementId | The category id. |
customSubCategoryId | CustomSubCategoryId | The custom subcategory id. |
Return Value
Type | Description |
---|---|
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 |