<?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 Re: Material library - duplicate entries in .mat in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/material-library-duplicate-entries-in-mat/m-p/7056404#M12863</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10927"&gt;@darawork&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good to see you again, I hope things are going well! &amp;nbsp;Did you merge these via script or something? &amp;nbsp;Technically this shouldn't happen since merging materials with the same name usually leads to a rename dialog, but I did find a post from a while back where you were looking for a merge script. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suppose it could be possible to do this via Maxscript but it's beyond my ability. &amp;nbsp;I know it's possible to just delete them but it's not quite what you're looking for. &amp;nbsp;I think the best bet here is if I move this thread to the programming forum to see if anyone there has an idea. &amp;nbsp;I will do this now.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 May 2017 19:02:00 GMT</pubDate>
    <dc:creator>Alfred.DeFlaminis</dc:creator>
    <dc:date>2017-05-02T19:02:00Z</dc:date>
    <item>
      <title>Material library - duplicate entries in .mat</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/material-library-duplicate-entries-in-mat/m-p/7042918#M12860</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know of a script or routine to rid a .mat file of duplicate entries?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've merged a few .mat files and it has resulted in a lot of duplicates of the same material and name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are a few commercial script 'Material Managers' but I'd like to find&amp;nbsp;a small free routine if possible.&lt;/P&gt;
&lt;P&gt;Or is this&amp;nbsp;already possible to do inside Max already with an existing function that I may not know about?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks guys.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Screenshot of problem:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Loads of duplicates in .mat file" style="width: 503px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/349533i9ED87659EAC0FB21/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.jpg" alt="Untitled.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 08:43:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/material-library-duplicate-entries-in-mat/m-p/7042918#M12860</guid>
      <dc:creator>darawork</dc:creator>
      <dc:date>2017-04-26T08:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Material library - duplicate entries in .mat</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/material-library-duplicate-entries-in-mat/m-p/7042992#M12861</link>
      <description>&lt;P&gt;in Mat Ed, does Utils&amp;gt;Condense help ?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 09:10:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/material-library-duplicate-entries-in-mat/m-p/7042992#M12861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-26T09:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Material library - duplicate entries in .mat</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/material-library-duplicate-entries-in-mat/m-p/7043015#M12862</link>
      <description>&lt;P&gt;Thanks for the suggestion, but that process does not get rid of duplicate entries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;STRONG&gt;Condense Material Editor Slots&lt;/STRONG&gt; Sets all unused materials in the Material Editor to the default type, retaining only materials in the scene and moving those materials to the first slots in the editor. This action is not undoable, but you can restore the previous state of the Material Editor with the Restore Material Editor Slots command"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/support/3ds-max/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/3DSMax/files/GUID-72174752-2A08-49D5-8112-81D33CFE9B54-htm.html" target="_blank"&gt;https://knowledge.autodesk.com/support/3ds-max/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/3DSMax/files/GUID-72174752-2A08-49D5-8112-81D33CFE9B54-htm.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 09:17:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/material-library-duplicate-entries-in-mat/m-p/7043015#M12862</guid>
      <dc:creator>darawork</dc:creator>
      <dc:date>2017-04-26T09:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Material library - duplicate entries in .mat</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/material-library-duplicate-entries-in-mat/m-p/7056404#M12863</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10927"&gt;@darawork&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good to see you again, I hope things are going well! &amp;nbsp;Did you merge these via script or something? &amp;nbsp;Technically this shouldn't happen since merging materials with the same name usually leads to a rename dialog, but I did find a post from a while back where you were looking for a merge script. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suppose it could be possible to do this via Maxscript but it's beyond my ability. &amp;nbsp;I know it's possible to just delete them but it's not quite what you're looking for. &amp;nbsp;I think the best bet here is if I move this thread to the programming forum to see if anyone there has an idea. &amp;nbsp;I will do this now.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 19:02:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/material-library-duplicate-entries-in-mat/m-p/7056404#M12863</guid>
      <dc:creator>Alfred.DeFlaminis</dc:creator>
      <dc:date>2017-05-02T19:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Material library - duplicate entries in .mat</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/material-library-duplicate-entries-in-mat/m-p/7056432#M12864</link>
      <description>&lt;P&gt;Thanks Alfred, sorry I've not been around much. Very busy in my new job these last few weeks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yeah, I merged the .mats with a small script. It would be handy if someone knew a routine to rid duplicates, but not life saving at this stage. Now... I'm looking for a vRaymtl to Unreal engine converter. Similar rarity, like hens teeth.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 19:08:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/material-library-duplicate-entries-in-mat/m-p/7056432#M12864</guid>
      <dc:creator>darawork</dc:creator>
      <dc:date>2017-05-02T19:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Material library - duplicate entries in .mat</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/material-library-duplicate-entries-in-mat/m-p/7056824#M12865</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10927"&gt;@darawork&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Busy is good right? &amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; &amp;nbsp; I'm glad things are going well for you! &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to jog my memory here but I think the google term to search for is "Vray to standard materials". I think there is a script for this but it may be old or only supports certain map types. &amp;nbsp;Might be worth asking on the Chaosgroup forums though I recall a thread recently about this that didn't have a solution posted. &amp;nbsp;Wish I could be more help there but since it's 3rd party I'm a bit limited. &amp;nbsp;I hope it works out though!&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 21:24:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/material-library-duplicate-entries-in-mat/m-p/7056824#M12865</guid>
      <dc:creator>Alfred.DeFlaminis</dc:creator>
      <dc:date>2017-05-02T21:24:52Z</dc:date>
    </item>
  </channel>
</rss>

