SetActiveTemplate Method


IFCCategory Template Set Active Template Method

Sets the mapping template element to be the active mapping template for its document.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void SetActiveTemplate()
Exceptions
Exception Condition
InvalidOperationException Invalid use of in-session template.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →