<?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 Navisworks to 3ds Max (Material quantities are high) in 3ds Max Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-forum/navisworks-to-3ds-max-material-quantities-are-high/m-p/7936552#M44633</link>
    <description>&lt;P&gt;Hello 3ds Max community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are working through the process of exporting entities from NavisWorks Manage 2018 into 3ds Max 2018 and we're finding that the scene material count quantities are higher than we'd&amp;nbsp;like (which affects performance in 3ds Max when we're dealing with very large files).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There seems to be a ratio of one scene material per object as per the example below.&lt;/P&gt;&lt;P&gt;NWD &amp;gt; FBX &amp;gt; 3ds Max:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 100 3D objects with 10 colors assigned = 100 scene materials (shouldn't it be 10, one for each color?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached an NWD if anyone would like to test the scenario (100 3D cubes with 10 colors assigned)&lt;/P&gt;&lt;P&gt;1. Open the NWD.&lt;/P&gt;&lt;P&gt;2. Export to FBX (choose any combination of options or go with the defaults).&lt;/P&gt;&lt;P&gt;3. Import FBX into 3ds Max.&lt;/P&gt;&lt;P&gt;4. Save the session.&lt;/P&gt;&lt;P&gt;5. Type in "scenematerials.count" in the MAXScript Listener (it should report 100).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're aware that we can remove all materials via scripting ($*.mat=null), but then we have to reassign materials to the objects to match the original materials/colors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Questions (as per the test scenario above):&lt;/P&gt;&lt;P&gt;Is there a way to simplify the FBX import with only the 10 expected materials/colors?&lt;/P&gt;&lt;P&gt;Is there more advanced scripting that can be run post-import to remap materials from 100 to 10?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tyler&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>Mon, 16 Apr 2018 22:44:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-16T22:44:51Z</dc:date>
    <item>
      <title>Navisworks to 3ds Max (Material quantities are high)</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/navisworks-to-3ds-max-material-quantities-are-high/m-p/7936552#M44633</link>
      <description>&lt;P&gt;Hello 3ds Max community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are working through the process of exporting entities from NavisWorks Manage 2018 into 3ds Max 2018 and we're finding that the scene material count quantities are higher than we'd&amp;nbsp;like (which affects performance in 3ds Max when we're dealing with very large files).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There seems to be a ratio of one scene material per object as per the example below.&lt;/P&gt;&lt;P&gt;NWD &amp;gt; FBX &amp;gt; 3ds Max:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 100 3D objects with 10 colors assigned = 100 scene materials (shouldn't it be 10, one for each color?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached an NWD if anyone would like to test the scenario (100 3D cubes with 10 colors assigned)&lt;/P&gt;&lt;P&gt;1. Open the NWD.&lt;/P&gt;&lt;P&gt;2. Export to FBX (choose any combination of options or go with the defaults).&lt;/P&gt;&lt;P&gt;3. Import FBX into 3ds Max.&lt;/P&gt;&lt;P&gt;4. Save the session.&lt;/P&gt;&lt;P&gt;5. Type in "scenematerials.count" in the MAXScript Listener (it should report 100).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're aware that we can remove all materials via scripting ($*.mat=null), but then we have to reassign materials to the objects to match the original materials/colors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Questions (as per the test scenario above):&lt;/P&gt;&lt;P&gt;Is there a way to simplify the FBX import with only the 10 expected materials/colors?&lt;/P&gt;&lt;P&gt;Is there more advanced scripting that can be run post-import to remap materials from 100 to 10?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tyler&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>Mon, 16 Apr 2018 22:44:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/navisworks-to-3ds-max-material-quantities-are-high/m-p/7936552#M44633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-16T22:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Navisworks to 3ds Max (Material quantities are high)</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/navisworks-to-3ds-max-material-quantities-are-high/m-p/7954245#M44634</link>
      <description>&lt;P&gt;Hello Tyler (ttpollon)&lt;/P&gt;&lt;P&gt;I have this same issue and decided to give the support line a try.&amp;nbsp; So I forwarded this information as a "support ticket" to Autodesk, and they have indicated that they are going to forward to their development team.&lt;/P&gt;&lt;P&gt;Fingers crossed...&lt;/P&gt;&lt;P&gt;In the meantime, is there anyone out there that is a MaxScript wizard who may be able to help?&amp;nbsp; ie: Autodesk employee?..&amp;nbsp; anyone?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Doug&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 00:55:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/navisworks-to-3ds-max-material-quantities-are-high/m-p/7954245#M44634</guid>
      <dc:creator>djwebb</dc:creator>
      <dc:date>2018-04-24T00:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Navisworks to 3ds Max (Material quantities are high)</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/navisworks-to-3ds-max-material-quantities-are-high/m-p/7959553#M44635</link>
      <description>&lt;P&gt;I wish my material count was that low. Last one I tested it had well over 23,000+ materials and 33,000+ objects. The worse case on the project was&amp;nbsp;328,000+ materials and 364,000+ objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On top of that Navisworks exports the full hierarchy of objects. If you hide the geometry before export it won't export the mesh, but will still export the hierarchy. In short the issue is on how Navisworks exports the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had to write a few scripts to manage these scene as they were almost unusable in the current scene import. I had also developed other scripts to collapse objects and combine similarly named materials into one Material ID. Unfortunately, I can share any of that code, but do understand your pain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Eric&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 18:24:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/navisworks-to-3ds-max-material-quantities-are-high/m-p/7959553#M44635</guid>
      <dc:creator>eric.craft</dc:creator>
      <dc:date>2018-04-25T18:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Navisworks to 3ds Max (Material quantities are high)</title>
      <link>https://forums.autodesk.com/t5/3ds-max-forum/navisworks-to-3ds-max-material-quantities-are-high/m-p/7960500#M44636</link>
      <description>Hi Eric,&lt;BR /&gt;Thanks for posting how you were able to work around this. I appreciate that you are not able to share the scripting code. I wonder if you might know of anyone for hire to generate similar code.&lt;BR /&gt;Or perhaps there is a member of the Development Team reading this post that also feels the pain, and has an answer...&lt;BR /&gt;Regards,&lt;BR /&gt;DjWebb&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Apr 2018 03:39:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-forum/navisworks-to-3ds-max-material-quantities-are-high/m-p/7960500#M44636</guid>
      <dc:creator>djwebb</dc:creator>
      <dc:date>2018-04-26T03:39:56Z</dc:date>
    </item>
  </channel>
</rss>

