Create copy of mapping template with new name.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public IFCCategoryTemplate CopyTemplate(
Document document,
string copyTemplateName
)
Parameters
- document Document
-
A Revit document to save the copied template.
- copyTemplateName String
-
A name for copied template name.
Return Value
IFCCategoryTemplate
The copied mapping template element.
Exceptions
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.
See Also
Reference