<?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: MAX Script Listener in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/max-script-listener/m-p/5547309#M15528</link>
    <description>&lt;P&gt;Could someone please move this question to the "Programming" area? I mistakenly posted it here.&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;Dean&lt;/P&gt;</description>
    <pubDate>Wed, 18 Mar 2015 19:59:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-18T19:59:43Z</dc:date>
    <item>
      <title>MAX Script Listener</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/max-script-listener/m-p/5545494#M15527</link>
      <description>&lt;P&gt;I'm trying to make a script that does a repetative task for me. The task is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apply an edit mesh modifier&lt;/P&gt;&lt;P&gt;select all verts and weld at .005"&lt;/P&gt;&lt;P&gt;Select all faces&lt;/P&gt;&lt;P&gt;Unify normals&lt;/P&gt;&lt;P&gt;clear smoothing groups&lt;/P&gt;&lt;P&gt;set auto smooth to 25 and apply to all faces&lt;/P&gt;&lt;P&gt;deselect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to use MAX Script Listener, it doesnt seem to capture all the settings. (Or any of them except putting the modifier on the geometry)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I know what listener will and will not capture?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wasted about three hours looking in the maxscript help, and watching (trying to find) you tube videos to help, but I'm coming up empty and feeling very frustrated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Admitedly, I know very little about python scripting, and maxscript so any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2015 21:59:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/max-script-listener/m-p/5545494#M15527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T21:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Script Listener</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/max-script-listener/m-p/5547309#M15528</link>
      <description>&lt;P&gt;Could someone please move this question to the "Programming" area? I mistakenly posted it here.&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;Dean&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2015 19:59:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/max-script-listener/m-p/5547309#M15528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-18T19:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Script Listener</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/max-script-listener/m-p/5548119#M15529</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Pyro777 wrote:)&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I know what listener will and will not capture?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is no way &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; I don't think somebody still uses macrorecorder...&lt;/P&gt;&lt;P&gt;You must write your script using maxscript documentation for proper "commands".&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 09:58:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/max-script-listener/m-p/5548119#M15529</guid>
      <dc:creator>RGhost77</dc:creator>
      <dc:date>2015-03-19T09:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Script Listener</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/max-script-listener/m-p/5561468#M15530</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The MAXScript listener is a slave to the&amp;nbsp;functionality provided from the C++ SDK side via&amp;nbsp;function publishing. So in this case yes, there is missing echoing of the needed commands. Sorry for that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Normally the best&amp;nbsp;solution for Autodesk plugins is to review the documentation. The edit mesh modifier has&amp;nbsp;pretty good docs, so hopefully you can find what you need there. See here for a starting point:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://help.autodesk.com/view/3DSMAX/2015/ENU/?guid=__files_GUID_2D34BEBA_4DF3_4EC7_8E8E_4477DB6D954C_htm" target="_blank"&gt;http://help.autodesk.com/view/3DSMAX/2015/ENU/?guid=__files_GUID_2D34BEBA_4DF3_4EC7_8E8E_4477DB6D954C_htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope it helps, kevin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2015 21:40:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/max-script-listener/m-p/5561468#M15530</guid>
      <dc:creator>kevinvandecar</dc:creator>
      <dc:date>2015-03-27T21:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Script Listener</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/max-script-listener/m-p/5581181#M15531</link>
      <description>&lt;P&gt;I would do this with modifiers instead as it is far easier.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;for x in selection do
(
	vw=Vertex_Weld()
	vw.threshold=0.005
	addModifier x vw
	
	nm=Normalmodifier()
	nm.unify=true
	addModifier x nm
	
	sm=smooth()
	sm.autoSmooth=true
	sm.threshold=25
	addModifier x sm
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2015 19:42:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/max-script-listener/m-p/5581181#M15531</guid>
      <dc:creator>paulneale</dc:creator>
      <dc:date>2015-04-10T19:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Script Listener</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/max-script-listener/m-p/5581194#M15532</link>
      <description>&lt;P&gt;Or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;for x in selection do
(
	addModifier x (Vertex_Weld threshold:0.005)
	addModifier x (Normalmodifier unify:true)
	addModifier x (smooth autoSmooth:true threshold:25)
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2015 19:44:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/max-script-listener/m-p/5581194#M15532</guid>
      <dc:creator>paulneale</dc:creator>
      <dc:date>2015-04-10T19:44:16Z</dc:date>
    </item>
  </channel>
</rss>

