<?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: SME Maxscript access in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/sme-maxscript-access/m-p/5698270#M15377</link>
    <description>&lt;P&gt;Hello ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a confirmed defect and logged with engineering, under review.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Case #&lt;SPAN&gt;10759538&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for taking the time to report this.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;VR&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jun 2015 19:16:02 GMT</pubDate>
    <dc:creator>VishnuR</dc:creator>
    <dc:date>2015-06-29T19:16:02Z</dc:date>
    <item>
      <title>SME Maxscript access</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/sme-maxscript-access/m-p/5633962#M15375</link>
      <description>&lt;P&gt;I'm trying to run functions only on materials or textures that are currently selected in the Slate view. But the node.selected parameter seems to be wrong very often.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the code below, it doesn't matter what node is set to be selected... the only node that seems to be selected via the node.selected property is the last created checkbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can others confirm this? If so, please submit a bug report:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sme.Open()&lt;BR /&gt;testname = "MXS Selection Test"&lt;BR /&gt;existing&amp;nbsp; = sme.GetViewByName testname&lt;BR /&gt;if existing &amp;gt; 0 then (&lt;BR /&gt;&amp;nbsp;sme.DeleteView existing false&lt;BR /&gt;)&lt;BR /&gt;sme.activeView&amp;nbsp; =&amp;nbsp; (sme.CreateView testname)&lt;BR /&gt;v = sme.activeView&lt;BR /&gt;view = sme.GetView v&lt;BR /&gt;pos = [0,0]&lt;BR /&gt;numsubs = 10&lt;BR /&gt;MultiMat = MultiMaterial name:"multimaterial" numsubs:numsubs&lt;BR /&gt;view.CreateNode MultiMat pos&lt;BR /&gt;&amp;nbsp;for m = 1 to numsubs do (&lt;BR /&gt;&amp;nbsp; mat = multiMat.materialList[m]&lt;BR /&gt;&amp;nbsp; mat.diffuseMap = checker name: ("tex"+m as string)&lt;BR /&gt;&amp;nbsp; mat.name = ("Mat "+ (m as string))&lt;BR /&gt;&amp;nbsp; multiMat.names[m] = ("Mat "+ (m as string))&lt;BR /&gt;)&lt;BR /&gt;view.SetSelectedNodes (#((multiMat.materialList[random 1 numsubs])))&lt;/P&gt;&lt;P&gt;numNodes = view.GetNumNodes()&lt;BR /&gt;for n = 1 to numNodes do (&lt;BR /&gt;&amp;nbsp;nd = view.GetNode n&lt;BR /&gt;&amp;nbsp;if nd.selected == true then (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;ref = trackViewNodes[#sme][v][n].reference&lt;BR /&gt;&amp;nbsp;&amp;nbsp;format "% &amp;gt; % &amp;gt; % \n" n nd ref&lt;BR /&gt;&amp;nbsp;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 22:37:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/sme-maxscript-access/m-p/5633962#M15375</guid>
      <dc:creator>lightcube</dc:creator>
      <dc:date>2015-05-13T22:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: SME Maxscript access</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/sme-maxscript-access/m-p/5635210#M15376</link>
      <description>&lt;P&gt;Yes, the format node &lt;SPAN&gt;is always the last&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;any node&lt;/SPAN&gt; &lt;SPAN&gt;is selected&lt;/SPAN&gt;:&lt;/P&gt;&lt;PRE&gt;21 &amp;gt; &amp;lt;MixinInterface:Node&amp;gt; &amp;gt; tex10:Checker &lt;/PRE&gt;&lt;P&gt;Strange, the nd.selected&amp;nbsp;&lt;SPAN&gt;It is not recognized&lt;/SPAN&gt;.... if you append the nd.selected as array for example, the LAST item is true (21) with &lt;SPAN&gt;any node&lt;/SPAN&gt; &lt;SPAN&gt;is selected&lt;/SPAN&gt; ... mah....&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2015 19:06:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/sme-maxscript-access/m-p/5635210#M15376</guid>
      <dc:creator>MedalHellWay</dc:creator>
      <dc:date>2015-05-14T19:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: SME Maxscript access</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/sme-maxscript-access/m-p/5698270#M15377</link>
      <description>&lt;P&gt;Hello ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a confirmed defect and logged with engineering, under review.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Case #&lt;SPAN&gt;10759538&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for taking the time to report this.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;VR&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2015 19:16:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/sme-maxscript-access/m-p/5698270#M15377</guid>
      <dc:creator>VishnuR</dc:creator>
      <dc:date>2015-06-29T19:16:02Z</dc:date>
    </item>
  </channel>
</rss>

