/// <summary>
        /// Creates a Ribbon Panel on Revit's Addins Tab
        /// </summary>
        public IRibbonPanelManager CreatePanel(string panelName)
        {
            var panel       = this.app.CreateRibbonPanel(panelName);
            var itembuilder = new RibbonPanelManager(null, panel, this.imageManager);

            return(itembuilder);
        }
        /// <summary>
        /// Creates a Ribbon Panel
        /// </summary>
        public IRibbonPanelManager CreatePanel(string tabName, string panelName)
        {
            try
            {
                this.app.CreateRibbonTab(tabName);
            }
            catch
            {
            }

            var panel       = this.app.CreateRibbonPanel(tabName, panelName);
            var itembuilder = new RibbonPanelManager(tabName, panel, this.imageManager);

            return(itembuilder);
        }