<?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: Scene Explorer Sort By Layer Missing Objects in 3ds Max Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-forum/scene-explorer-sort-by-layer-missing-objects/m-p/7443074#M83978</link>
    <description>&lt;P&gt;ha!&amp;nbsp; so here's what i did originally... downloaded the turbosquid model, opened the max scene, saved as a new file with new name.&amp;nbsp; then started grabbing materials and changing to my render engine materials.&amp;nbsp; ok, so this new file is where i suddenly noticed that there were no objects visible in sort by layer view.&amp;nbsp; ok, this is still the file where somehow i figured it out&amp;nbsp;and was able to get copies of the objects on a new layer - without using the script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ok, my post still stands above - i was working in the original file this morning and could not see the objects, but then suddenly could...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ok now, i opened up my new file (from the 1st paragraph above) and sure enough, the new "layer 1" had my objects all with the new names i gave them from several days ago.&amp;nbsp; HOWEVER, the layer 0 (default) did not show any objects - remember, this file was created via save as from the original.&amp;nbsp; so, now i just tried that script in the other thread - i had to open maxscript listener &amp;gt; select my objects &amp;gt; paste the text &amp;gt; select the text so that it was highlighted &amp;gt; move cursor to the end and then hit enter on the keypad and it worked! created a Layer002 and moved the original objects into that layer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;layer = LayerManager.newLayer()
for n in (selection as array) do layer.addnode n&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;before this, i kept getting errors, but alfred it was your description of highlighting/selecting the text in maxscript listener and using the enter key on the keypad that prevented the errors and solved the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Sun, 08 Oct 2017 16:14:31 GMT</pubDate>
    <dc:creator>grue1970</dc:creator>
    <dc:date>2017-10-08T16:14:31Z</dc:date>
  </channel>
</rss>

