Esempio n. 1
0
 /// <summary>
 /// Print the Title of the Revit Document on the main text box of the WPF window of this application.
 /// </summary>
 /// <param name="ui">An instance of our UI class, which in this template is the main WPF
 /// window of the application.</param>
 /// <param name="doc">The Revit Document to print the Title of.</param>
 public static void DocumentInfo(Ui ui, Document doc)
 {
     ui.TbDebug.Text += "\n" + (DateTime.Now).ToLongTimeString() + "\t" + doc.Title;
 }