Ejemplo n.º 1
0
 void m_app_DocumentOpened(object sender, Autodesk.Revit.DB.Events.DocumentOpenedEventArgs e)
 {
     if (EventTrack.Forms.EventsForm.m_docEvents.AreEventsEnabled)
     {
         EventTrack.Forms.EventsForm.m_docEvents.EnableEvents(e.Document);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Handler for Revit's DocumentOpened event.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OnApplicationDocumentOpened(object sender, Autodesk.Revit.DB.Events.DocumentOpenedEventArgs e)
 {
     HandleApplicationDocumentOpened();
 }
 void ControlledApplication_DocumentOpened(object sender, Autodesk.Revit.DB.Events.DocumentOpenedEventArgs e)
 {
 }