Share

Application.NewProjectTemplateDocument Method

New project template document


Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public virtual Document NewProjectTemplateDocument(
	string templateFilename
)

Parameters

templateFilename  String
The template file name.

Return Value

Document

Exceptions

ExceptionCondition
ArgumentExceptionIf 'templateFileName' is nullptr or an empty string.
InvalidOperationExceptionIf the project template document cannot be created.

Remarks

This command corresponds to New->Project->Project Template command in the user-interface.

See Also

Reference

Was this information helpful?