public override Result OnRevitStart(UIControlledApplication application) { OnMainViewBefore(application); RibbonRegisterHelper.Register(new MainView(), 0); OnMainViewAfter(application); return(Result.Succeeded); }
protected override Result OnStartup(UIControlledApplication application) { RibbonRegisterHelper.Register <RibbonView>(); return(Result.Succeeded); }
public override Result OnRevitStart(UIControlledApplication application) { ThisApp = this; RibbonRegisterHelper.Register(new MainView(), 0); return(Result.Succeeded); }