Exemple #1
0
        void Initialize(UIControlledApplication uic_app)
        {
            // Fix the bug of Revit 2017.1.1
            // More info read here:
            // https://revit-addins.blogspot.ru/2017/01/revit-201711.html
            RevitPatches.PatchCultures(uic_app
                                       .ControlledApplication.Language);



            // Create the tabs, panels, and buttons
            UIBuilder.BuildUI(uic_app, Assembly
                              .GetExecutingAssembly(), typeof(Resources))
            ;
        }