示例#1
0
 public override Result OnRevitStart(UIControlledApplication application)
 {
     OnMainViewBefore(application);
     RibbonRegisterHelper.Register(new MainView(), 0);
     OnMainViewAfter(application);
     return(Result.Succeeded);
 }
示例#2
0
        protected override Result OnStartup(UIControlledApplication application)
        {
            RibbonRegisterHelper.Register <RibbonView>();

            return(Result.Succeeded);
        }
示例#3
0
 public override Result OnRevitStart(UIControlledApplication application)
 {
     ThisApp = this;
     RibbonRegisterHelper.Register(new MainView(), 0);
     return(Result.Succeeded);
 }