RVTDocs.com

IFCCategoryTemplate.ImportFromFile

Method
Description:
Import mapping template from a text file.
Syntax
public static IFCCategoryTemplate ImportFromFile(
	Document document,
	string fileName,
	string templateName
)
Parameters
Parameter Type Description
document Document A Revit document.
fileName String A full text file name.
templateName String A mapping template name.
Return Value
Type Description
IFCCategoryTemplate The mapping template element.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
FileAccessException Failed to access the text file.
InvalidOperationException Failed to create IFCCategoryTemplate element.