Esempio n. 1
0
 /// <summary>
 /// Subscribe to the DocumentSavingAs event to be notified when Revit is just about to save the document with a new file name.
 /// </summary>
 /// <param name="sender">sender</param>
 /// <param name="e">The event argument used by DocumentSavingAs event.</param>
 private void application_DocumentSavingAs(Object sender, Autodesk.Revit.DB.Events.DocumentSavingAsEventArgs e)
 {
     validateParameters(e.Document);
 }
Esempio n. 2
0
 void m_app_DocumentSavingAs(object sender, Autodesk.Revit.DB.Events.DocumentSavingAsEventArgs e)
 {
     DisplayEvent("Document saving as");
 }
Esempio n. 3
0
 public void Application_DocumentSavingAs(object sender, Autodesk.Revit.DB.Events.DocumentSavingAsEventArgs e)
 {
     ExecuteEventHooks(EventType.Application_DocumentSavingAs, sender, e);
 }