<?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: quick Noob question : search scene for object with string name in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/quick-noob-question-search-scene-for-object-with-string-name/m-p/4107649#M23750</link>
    <description>If the names are consistent &amp;amp;#40;box01, box02, box03 etc&amp;amp;#41; then&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;for obj in &amp;amp;#36;box* do&lt;BR /&gt;   obj.xray = True&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Look up "For Loops" - lots of possibilities there.</description>
    <pubDate>Sun, 09 Aug 2009 14:10:00 GMT</pubDate>
    <dc:creator>Steve_Curley</dc:creator>
    <dc:date>2009-08-09T14:10:00Z</dc:date>
    <item>
      <title>quick Noob question : search scene for object with string name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/quick-noob-question-search-scene-for-object-with-string-name/m-p/4107646#M23747</link>
      <description>bit of a noob question,&lt;BR /&gt;I have an alphanumeric sting and i want to select the object in my scene with the same name as that string and xray it&lt;BR /&gt;&lt;BR /&gt;objectString = "abc123"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--want to get this&lt;BR /&gt;&lt;BR /&gt;&amp;amp;#36;abc123.xray = on</description>
      <pubDate>Sun, 09 Aug 2009 13:20:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/quick-noob-question-search-scene-for-object-with-string-name/m-p/4107646#M23747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-09T13:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: quick Noob question : search scene for object with string name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/quick-noob-question-search-scene-for-object-with-string-name/m-p/4107647#M23748</link>
      <description>&lt;PRE&gt;&lt;BR /&gt;myObj = getNodeByName "abc123"&lt;BR /&gt;myObj.xray = True&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;See the Node Common Properties page in the Maxscript help for extra options.</description>
      <pubDate>Sun, 09 Aug 2009 13:34:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/quick-noob-question-search-scene-for-object-with-string-name/m-p/4107647#M23748</guid>
      <dc:creator>Steve_Curley</dc:creator>
      <dc:date>2009-08-09T13:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: quick Noob question : search scene for object with string name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/quick-noob-question-search-scene-for-object-with-string-name/m-p/4107648#M23749</link>
      <description>Cool,&lt;BR /&gt;Thanks&lt;BR /&gt;that works better than the loop i was going to use&lt;BR /&gt;&lt;BR /&gt;for obj in objects do&lt;BR /&gt; &amp;amp;#40;&lt;BR /&gt; if obj.name == obj1 or obj.name == obj2 then &lt;BR /&gt; obj.xray = off&lt;BR /&gt; &lt;BR /&gt; &amp;amp;#41;</description>
      <pubDate>Sun, 09 Aug 2009 13:49:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/quick-noob-question-search-scene-for-object-with-string-name/m-p/4107648#M23749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-09T13:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: quick Noob question : search scene for object with string name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/quick-noob-question-search-scene-for-object-with-string-name/m-p/4107649#M23750</link>
      <description>If the names are consistent &amp;amp;#40;box01, box02, box03 etc&amp;amp;#41; then&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;for obj in &amp;amp;#36;box* do&lt;BR /&gt;   obj.xray = True&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Look up "For Loops" - lots of possibilities there.</description>
      <pubDate>Sun, 09 Aug 2009 14:10:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/quick-noob-question-search-scene-for-object-with-string-name/m-p/4107649#M23750</guid>
      <dc:creator>Steve_Curley</dc:creator>
      <dc:date>2009-08-09T14:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: quick Noob question : search scene for object with string name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/quick-noob-question-search-scene-for-object-with-string-name/m-p/4107650#M23751</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;If the names are consistent &amp;amp;#40;box01, box02, box03 etc&amp;amp;#41; then&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;for obj in &amp;amp;#36;box* do&lt;BR /&gt;   obj.xray = True&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Look up "For Loops" - lots of possibilities there.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;If the names are consistent &amp;amp;#40;box01, box02, box03 etc&amp;amp;#41; then&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;for obj in &amp;amp;#36;box* do&lt;BR /&gt;   obj.xray = True&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Look up "For Loops" - lots of possibilities there.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;In fact, thanks to the fact property assignments are "mappable", one can even say&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&amp;amp;#36;box*.xray = true&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Aug 2009 02:54:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/quick-noob-question-search-scene-for-object-with-string-name/m-p/4107650#M23751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-11T02:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: quick Noob question : search scene for object with string name</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/quick-noob-question-search-scene-for-object-with-string-name/m-p/4107651#M23752</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;In fact, thanks to the fact property assignments are "mappable", one can even say&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&amp;amp;#36;box*.xray = true&lt;/PRE&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Or even, if appropriate&lt;BR /&gt;&lt;PRE&gt;geometry.xray = true&lt;/PRE&gt;&lt;BR /&gt;This thread is related, I believe, to &lt;A href="http://area.autodesk.com/forum/autodesk-3ds-max/maxscript/noob-question-loop-not-working---eof-error-when-reading-a-txt-file/" target="_blank"&gt;this one&lt;/A&gt; where it did, in fact, seem appropriate - given the original code.</description>
      <pubDate>Tue, 11 Aug 2009 10:27:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/quick-noob-question-search-scene-for-object-with-string-name/m-p/4107651#M23752</guid>
      <dc:creator>Steve_Curley</dc:creator>
      <dc:date>2009-08-11T10:27:01Z</dc:date>
    </item>
  </channel>
</rss>

