public void TestArgsType(object sender, Autodesk.Revit.UI.Events.ViewActivatingEventArgs e) { TaskDialog.Show("Hooks", "Selected incorrect method"); }
void CurrentUIApplication_ViewActivating(object sender, Autodesk.Revit.UI.Events.ViewActivatingEventArgs e) { DynamoRevit.SetRunEnabledBasedOnContext(e); }
void CurrentUIApplication_ViewActivating(object sender, Autodesk.Revit.UI.Events.ViewActivatingEventArgs e) { ((RevitDynamoModel)this.ViewModel.Model).SetRunEnabledBasedOnContext(e.NewActiveView); }
private void uiapp_ViewActivating(object sender, Autodesk.Revit.UI.Events.ViewActivatingEventArgs e) { geSelectedtViewportsIdsAndPositions(); }