New project template document
Namespace:
Autodesk.Revit.ApplicationServices
Assembly:
RevitAPI
(in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- templateFilename
-
Type:
System
String
The template file name.
Remarks
This command corresponds to New->Project->Project Template command in the user-interface.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentException | If 'templateFileName' is a null reference ( Nothing in Visual Basic) or an empty string. |
Autodesk.Revit.Exceptions InvalidOperationException | If the project template document cannot be created. |