RVTDocs.com

Application.NewProjectDocument(String)

Method
Description:
New project document
Remarks:
This command corresponds to New->Project command in the user-interface.
Syntax
public virtual Document NewProjectDocument(
	string templateFileName
)
Parameters
Parameter Type Description
templateFileName String The template file name.
Return Value
Exceptions
Exception Condition
ArgumentException If 'templateFileName' isor an empty string.
InvalidOperationException If the new project document cannot be created.