New project template document
Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public virtual Document NewProjectTemplateDocument( string templateFilename )
Parameters
- templateFilename String
- The template file name.
Return Value
DocumentExceptions
Exception | Condition |
---|---|
ArgumentException | If 'templateFileName' is null or an empty string. |
InvalidOperationException | If the project template document cannot be created. |