<?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: Getting the properties of Physical Material's PRESETS in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/getting-the-properties-of-physical-material-s-presets/m-p/12066410#M2502</link>
    <description>&lt;P&gt;Thanks!!!&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 13:12:50 GMT</pubDate>
    <dc:creator>gwhelden</dc:creator>
    <dc:date>2023-06-28T13:12:50Z</dc:date>
    <item>
      <title>Getting the properties of Physical Material's PRESETS</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/getting-the-properties-of-physical-material-s-presets/m-p/12018280#M2500</link>
      <description>&lt;P&gt;All I want to is change the presets programmatically.... I have looked everywhere.&amp;nbsp; Is it even visible to the API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Glen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;================================&lt;/P&gt;&lt;P&gt;Glen Whelden&lt;/P&gt;&lt;P&gt;BIMaire&lt;/P&gt;&lt;P&gt;Autodesk Certified Instructor - 3dsmax&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 19:07:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/getting-the-properties-of-physical-material-s-presets/m-p/12018280#M2500</guid>
      <dc:creator>gwhelden</dc:creator>
      <dc:date>2023-06-07T19:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the properties of Physical Material's PRESETS</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/getting-the-properties-of-physical-material-s-presets/m-p/12065876#M2501</link>
      <description>&lt;P&gt;They are stored in a .mat file in the&amp;nbsp;materiallibraries folder in max root and loaded from there. You can either use the function that's used internally or adapt it to your needs - you can find it in the&amp;nbsp;stdplugs\stdscripts\meditfunctions.ms file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;meditUtilities.Set_PhysicalTemplate_ActiveMaterial_FromMaterialInMatlib materialToApplyPresetTo "Metal Brushed"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or use the material from the library directly:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;(loadTempMaterialLibrary (getDir #maxRoot + "\materiallibraries\PhysicalMaterialTemplates.mat"))["Metal Brushed"]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 08:54:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/getting-the-properties-of-physical-material-s-presets/m-p/12065876#M2501</guid>
      <dc:creator>Swordslayer</dc:creator>
      <dc:date>2023-06-28T08:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the properties of Physical Material's PRESETS</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/getting-the-properties-of-physical-material-s-presets/m-p/12066410#M2502</link>
      <description>&lt;P&gt;Thanks!!!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 13:12:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/getting-the-properties-of-physical-material-s-presets/m-p/12066410#M2502</guid>
      <dc:creator>gwhelden</dc:creator>
      <dc:date>2023-06-28T13:12:50Z</dc:date>
    </item>
  </channel>
</rss>

