public Result Execute( ExternalCommandData commandData, ref string message, ElementSet elements) { Application app = commandData.Application.Application; Document doc = app.NewProjectDocument( _template_file_path ); doc.SaveAs( "C:/tmp/new_project.rvt" ); return Result.Succeeded; }