IFCParameterTemplate.ImportFromFile
Description:
Import mapping template from a text file.
Import mapping template from a text file.
Remarks:
The imported template is saved in the document passed as parameter. The active template of the document remains unchanged.
The imported template is saved in the document passed as parameter. The active template of the document remains unchanged.
public static IFCParameterTemplate ImportFromFile(
Document document,
string fileName,
string templateName
)
-
documentThe Revit document.
-
StringfileNameThe full text file name.
-
StringtemplateNameThe mapping template name.
-
The name already exists.
-
A non-optional argument was null
-
Failed to access the text file.
-
Failed to create IFCParameterTemplate.