Gets the active mapping template element in the document.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static IFCParameterTemplate GetActiveTemplate(
Document document
)
Parameters
- document Document
-
The document to find the active mapping template.
Return Value
IFCParameterTemplate
The active mapping template, or
null if none.
Exceptions
Remarks
New documents have no active mapping template and it implies in-session template usage.
See Also
Reference