<Code Lib>
2025.3 Method
Changes 5
M

IFCCategoryTemplate.ImportFromFile

Description:
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.

public static IFCCategoryTemplate ImportFromFile(
	Document document,
	string fileName,
	string templateName
)

  • document
    A Revit document.
  • String
    fileName
    A full text file name.
  • String
    templateName
    A mapping template name.
Return Value IFCCategoryTemplate The mapping template element.

Loading…