<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to remove a specific Ribbon tab in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/how-to-remove-a-specific-ribbon-tab/m-p/13804196#M32863</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Is it possible to make a Macro to remove a specific Ribbon tab?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now, when i make an update and everyone else want it they have to do manual work.&lt;/P&gt;&lt;P&gt;I made one that imports the new macro, but you have to delete the old one because i can't just say number 2 because everyone has different ribbon setups.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FORM CustomRibbon CustomiseRibbon&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;EDIT CUSTOMRIBBON SOURCE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;EDIT CUSTOMRIBBON IMPORT FILEOPEN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Path to the file"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MESSAGE INFO&lt;/SPAN&gt; &lt;SPAN&gt;"Delete old Genistreger and press OK"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 10 Sep 2025 07:15:19 GMT</pubDate>
    <dc:creator>theis_knudsen</dc:creator>
    <dc:date>2025-09-10T07:15:19Z</dc:date>
    <item>
      <title>How to remove a specific Ribbon tab</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-to-remove-a-specific-ribbon-tab/m-p/13804196#M32863</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Is it possible to make a Macro to remove a specific Ribbon tab?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now, when i make an update and everyone else want it they have to do manual work.&lt;/P&gt;&lt;P&gt;I made one that imports the new macro, but you have to delete the old one because i can't just say number 2 because everyone has different ribbon setups.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FORM CustomRibbon CustomiseRibbon&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;EDIT CUSTOMRIBBON SOURCE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;EDIT CUSTOMRIBBON IMPORT FILEOPEN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Path to the file"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MESSAGE INFO&lt;/SPAN&gt; &lt;SPAN&gt;"Delete old Genistreger and press OK"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 Sep 2025 07:15:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-to-remove-a-specific-ribbon-tab/m-p/13804196#M32863</guid>
      <dc:creator>theis_knudsen</dc:creator>
      <dc:date>2025-09-10T07:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove a specific Ribbon tab</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-to-remove-a-specific-ribbon-tab/m-p/13805107#M32871</link>
      <description>&lt;P&gt;Here you go, just replace the variable "tabToFind" with the name of the tab you want removed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;//Name of tab to remove 
string tabToFind = "New Tab"  


// There are 17 default ribbon tabs if you include the quick access toolbar
int numberOfDefaultTabs = 17 

string list tabs = ribbon_visible_tabs() 
int numOfActualTabs = size(tabs)

int i = $numberOfDefaultTabs
while $i &amp;lt; $numOfActualTabs {
    string widgetName = "Ribbon." + $tabs[$i]
    string tabName = $widget($widgetName).Label
    
    if lcase($tabName) == lcase($tabToFind) {

        string cmd = "EDIT CUSTOMRIBBON DESTINATION '" + $widgetName + "'"
        docommand $cmd

        $cmd = "EDIT CUSTOMRIBBON REMOVE '" + $widgetName + "'"
        docommand $cmd

        EDIT CUSTOMRIBBON APPLY FORM CANCEL CUSTOMRIBBON
        break
    }

    $i = $i+1
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 16:39:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-to-remove-a-specific-ribbon-tab/m-p/13805107#M32871</guid>
      <dc:creator>Sean571</dc:creator>
      <dc:date>2025-09-10T16:39:08Z</dc:date>
    </item>
  </channel>
</rss>

