IFCCategoryTemplate.CopyTemplate
Description:
Create copy of mapping template with new name.
Create copy of mapping template with new name.
Remarks:
The copied template is saved in the document passed as parameter. Passing the same document as the source tampalte's document will create a new template in the same document. The active template of the document remains unchanged.
The copied template is saved in the document passed as parameter. Passing the same document as the source tampalte's document will create a new template in the same document. The active template of the document remains unchanged.
public IFCCategoryTemplate CopyTemplate(
Document document,
string copyTemplateName
)
-
documentA Revit document to save the copied template.
-
StringcopyTemplateNameA name for copied template name.
-
The name already exists.
-
A non-optional argument was null
-
Failed to create IFCCategoryTemplate element.