Пример #1
0
 public void TestArgsType(object sender, Autodesk.Revit.UI.Events.ViewActivatingEventArgs e)
 {
     TaskDialog.Show("Hooks", "Selected incorrect method");
 }
Пример #2
0
 void CurrentUIApplication_ViewActivating(object sender, Autodesk.Revit.UI.Events.ViewActivatingEventArgs e)
 {
     DynamoRevit.SetRunEnabledBasedOnContext(e);
 }
Пример #3
0
 void CurrentUIApplication_ViewActivating(object sender, Autodesk.Revit.UI.Events.ViewActivatingEventArgs e)
 {
     ((RevitDynamoModel)this.ViewModel.Model).SetRunEnabledBasedOnContext(e.NewActiveView);
 }
Пример #4
0
 private void uiapp_ViewActivating(object sender, Autodesk.Revit.UI.Events.ViewActivatingEventArgs e)
 {
     geSelectedtViewportsIdsAndPositions();
 }