MaxStation 3ds Max blog is a team effort by Nicolas Holst, Lee Montgomery, Vishnu Ramdass and Anil Choudhary. Tue, 25 Nov 2014 21:49:51 UTCMAXScript: Making sure scenematerials array is up to dateMaxStation<p>The problem:</p> <p>In a new scene cre<span style="line-height: 1.5em; font-size: 14px;">ate an object, a</span><span style="line-height: 1.5em; font-size: 14px;">ssign a material and then delete the object. If you now&nbsp;</span><span style="line-height: 1.5em; font-size: 14px;">check scenematerials it still shows the material. When you run "scenematerials.count" it still shows 1.</span></p> <p>The solution:&nbsp;</p> <p><span style="line-height: 1.5em; font-size: 14px;">You need to save the scene, that causes the scenematerials array to get cleaned up. On a large file that might take a long time, luckily it is enough to call "savenodes #() somefile". That will be quick as it saves an empty array of objects.</span></p>Mon, 24 Nov 2014 14:00:03 UTC error &quot;Could not find the specified file in DefaultSettingsParser::parse() ;&quot;MaxStation<p>The error "<span style="font-size: 14.4444446563721px; line-height: 1.5em;">Could not find the specified file in DefaultSettingsParser::parse() ;" occurs if you don't have the Populate Data installed on the machines.</span></p> <p><span style="font-size: 14.4444446563721px; line-height: 1.5em;"><br /></span></p> <p>This is what the errors will look like in the log files:</p> <p>In the server log (backburnerserver.log):</p> <p class="code" style="padding-left: 30px;">2014/11/14 09:33:24 INF New task assigned: 0</p> <p class="code" style="padding-left: 30px;">2014/11/14 09:33:26 INF Adapter returned unexpected code -2 for "C:\\Program Files\\Autodesk\\3ds Max 2015\\maxadapter.adp.exe" "-o" "NewTask" "-l" "Info" "-j" "C:\\Users\\bb\\AppData\\Local\\backburner\\ServerJob\\Untitled01.xml.details" "-s" "0" "-n" "1" "-a" "C:\\Users\\bb\\AppData\\Local\\backburner\\ServerJob\\" "-d" "utf-8"&nbsp;</p> <p class="code" style="padding-left: 30px;">2014/11/14 09:33:26 ERR Task error: 3dsmax adapter error : Autodesk 3dsMax 17.2 reported error: Could not find the specified file in DefaultSettingsParser::parse() ; Could not find the specified file in DefaultSettingsParser::parse() ; Could not find the specified file in DefaultSettingsParser::parse() ; Could not find the specified file in DefaultS&nbsp;</p> <p class="code" style="padding-left: 30px;"><span style="line-height: 1em; font-size: 14px;">2014/11/14 09:33:26 ERR 3dsmax adapter error : Autodesk 3dsMax 17.2 reported error: Could not find the specified file in DefaultSettingsParser::parse() ; Could not find the specified file in DefaultSettingsParser::parse() ; Could not find the specified file in De</span></p> <p class="code" style="padding-left: 30px;">2014/11/14 09:33:26 INF Application is down</p> <p>In the manager log (backburner.log):</p> <p style="padding-left: 30px;" class="code">2014/11/14 09:33:26 WRN Task error from fara06253</p> <p style="padding-left: 30px;" class="code">2014/11/14 09:33:26 ERR Job 'Untitled01' (Autodesk 3ds Max 2015 (64-bit)) failed for fara06253</p> <p style="padding-left: 30px;" class="code">2014/11/14 09:33:26 ERR Error message: 3dsmax adapter error : Autodesk 3dsMax 17.2 reported error: Could not find the specified file in DefaultSettingsParser::parse() ; Could not find the specified file in DefaultSettingsParser::parse() ; Could not find the specified file in De</p> <p style="padding-left: 30px;" class="code">2014/11/14 09:33:26 WRN Server fara06253 flagged as failed for job 'Untitled01'</p> <p></p> <p>To resolve the issue you need to ensure that the Populate Data is installed on all the render machines. You can run the 3dsMax_2015_PopulateData.msi installer from the \\x64\\PDATA\\ folder of the 3ds Max 2015 installer. In case there was a previous install of the Populate Data on the machine please delete the following folder before installing C:\\Program Files\\Common Files\\Autodesk Shared\\PeoplePower\\2.0\\.</p>Fri, 14 Nov 2014 11:21:51 UTC missing Evolver data errorsMaxStation<p>If you get an error message like this when you try to do a Poppulate simulation:</p> <p><img src="/userdata/blogs/maxstation/nicolas/poplate-2014-2.png" width="497" height="170" /></p> <p></p> <p>That means the 3ds Max or 3ds Max Design install isn't complete. To fix this you need to install the&nbsp;<span style="font-size: 14px; line-height: 1.5em;">Autodesk 3ds Max 2014 64-bit Populate Data component.</span></p> <p>The actual file is 3dsMax_2014_PopulateData.msi which you can find in the \x64\PDATA\ folder of the install media. Note that if you're running 3ds Max Design the filename will be&nbsp;3dsMaxDesign_2014_PopulateData.msi.</p> <p></p> <p>If you do the same in 3ds Max 2015 the message doesn't mention Evolver anymore, instead it tells you to install the Populate data:</p> <p><img src="/userdata/blogs/maxstation/nicolas/populate2015.jpg" width="412" height="172" /></p>Fri, 07 Nov 2014 10:00:07 UTC US! for M&amp;E DevDay events in multiple locations!MaxStation<p>Reposting Kevin's post from the <a href="">GetCOREInterface()</a> blog:</p> <p></p> <h3>Join US! for M&amp;E DevDay events in multiple locations!</h3> <div> <div> <p>Hey, we have the M&amp;E DevDay events coming up soon on several dates. You are invited to register for our annual FREE OF CHARGE Media and Entertainment DevDay events taking place before AU on December 1st in Las Vegas. Plus we have three dates in January to choose from in China and Japan.&nbsp; &nbsp;</p> <p>DevDay is the best way for you to lean about Autodesk's newest technologies and next generation of products and APIs.&nbsp; These are developer oriented events, and are your chance to learn how Autodesk is expanding our business in the coming year and beyond, and how you can leverage this growth by using Cloud, Mobile and Desktop APIs and technologies to increase your business.&nbsp; You will have the opportunity to spend time with Autodesk and industry M&amp;E experts as well as fellow developers.&nbsp; As part of DevDay at AU you are invited to DevHack on Tuesday, Dec 2 from 1:00 p.m. - 5:30 p.m.&nbsp; DevHack is a drop-in workshop where you bring your laptop and spend quality time getting programming advice from DevTech engineers for any problems or projects you are working on or learn to take advantage of the new cloud and/or mobile APIs.</p> <p>See here for a detailed agenda:<br /><a href=""></a></p> <p>There is also information here:<br /><a href="/au2014/adn"></a></p> <h3>&nbsp;</h3> <h2>To Register:</h2> <p>If you are an ADN member and are already attending Autodesk University Las Vegas, you can add our DevDay to your agenda by going here:<a href=""></a><br /><br />Otherwise, to attend the conference(s) only, please send us an email here:<a href=""></a>.</p> <p>Note, if you are not an ADN member we will ask you to sign an NDA because we will be talking about pre-release and future details.</p> <p>Remember the M&amp;E DevDay conference is free, so there is no charge for attending the M&amp;E DevDay!</p> <p>&nbsp;</p> <h2>AU 2014 Attendees:</h2> <p>Remember, if you are an ADN member and are already attending Autodesk University Las Vegas, you can add our DevDay to your agenda by going here:<a href=""></a>. Please make sure to add the morning and afternoon sessions.</p> <p>Also, please check out these additional AU courses being held and taught by members of our ADN DevTech team:</p> <ul> <li>SD6310 - Bring on the Cloud and Mobilize Your Media and Entertainment Workflows Through Programming<br />&nbsp;&nbsp; &ndash; Kevin Vandecar</li> <li>SD5750 - Autodesk 360 Mobile Software Development Kit: Cloud Services Unleashed&nbsp;<br />&nbsp;&nbsp; &ndash; Cyrille Fauvel</li> <li>SD6432 - Are You Having a Pythonic 3ds Max Experience? No? Come Join the Revolution&nbsp;<br />&nbsp;&nbsp; &ndash; Kevin Vandecar</li> <li>SD5752 -&nbsp; OAuth 1.0 Versus OAuth 2.0 and Use Case<br />&nbsp;&nbsp; &ndash; Cyrille Fauvel</li> </ul> <p>You might also find these interesting:</p> <ul> <li>SD6000 - Introduction to Apple's iOS Mobile Development</li> <li>SD5500 - Autodesk&rsquo;s Cloud and Mobile API and Technologies: Meet the Experts</li> </ul> <p>There are also a number of other classes in the Visualization track that cover techniques for using 3ds Max and Maya! Also many programming related courses.</p> <p>We hope to see you there!<br />Please come introduce yourself if you are able to make it!</p> </div> </div>Wed, 29 Oct 2014 09:59:17 UTC help redirecting to Feedback community issue resolvedMaxStation<p>At the end of last week the online help was redirecting to the Feedback communities, this issue has now been resolved.</p>Mon, 27 Oct 2014 08:31:22 UTC up mesh operations in 3ds MaxMaxStation<p>Let's start of with a quick question, which may seem unrelated to the subject of this post): do you know where the Max.log file is stored? And if so, how often do you look at this file?</p> <p>For me the answers are:</p> <ul> <li><span style="font-size: 14px; line-height: 1.5em;">yes, it's in&nbsp;C:\\Users\\[my user name]\\AppData\\Local\\Autodesk\\3dsMax\\2015 - 64bit\\ENU\\Network\\</span></li> <li><span style="font-size: 14px; line-height: 1.5em;"></span><span style="font-size: 14px; line-height: 1.5em;">and no, i don't really look at the file.</span></li> </ul> <p>Uhm, so why do i have Errors, Info, Warnings and Debug all ticked (in preferences-&gt;files under the log file maintenance section)? Now that's a good question!</p> <p></p> <p>Back to the topic: some mesh operations can take longer because of the mesh inspector (introduced in the 2014 release) logging information in that log file.</p> <p>Aha, so i can speed that up by:</p> <ul> <li><span style="font-size: 14px; line-height: 1.5em;">disabling the mesh inspector (that helps)&nbsp;</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">or by unchecking the logging options (that helps even more and i get to keep the benefit of meshes getting automatically fixed if required). In fact you only need to uncheck the Info option.</span></li> </ul>Wed, 22 Oct 2014 12:00:20 UTC performance of final gather in mental ray when rendering at a very high resultionMaxStation<p>The default final gather algorithm is faster and produces nicer feedback but also uses more memory, that's find for resultions up to HD but if you go for very large, something like 20000x20000 mental ray will allocate a lot of memory which will cause the machine to swap to disk a lot if you don't have sufficient physical memory.</p> <p></p> <p>The workaround is to use the following string option to force mental ray to use the old algorithm (render setup-&gt;string options in the renderer tab of the mental ray renderer):</p> <p class="code">"finalgather precomp legacy" true</p> <p></p> <p>That will allow the render to complete faster because the machine won't be swapping tho disk.</p>Tue, 21 Oct 2014 11:17:51 UTC Autodesk Software for Students, Teachers, &amp; Schools Around the WorldMaxStation<p>The terms have changed: now ALL students, teachers, and schools everywhere in the world have FREE access to our desktop software.</p> <p>In the past, we have had free access in some countries, but not others. Today there are no restrictions. For more information go to: <a href=""></a>&nbsp;where you can download as much as you want and find curriculum and learning materials.</p>Wed, 08 Oct 2014 08:07:41 UTC MaxScript to check for missing bitmap filesMaxStation<p>You can check this in the Asset Tracking by checking the Status column but maybe you prefer to access this information from a small script:</p> <p class="code" style="padding-left: 30px;">missing_maps = for m in (getClassInstances BitmapTexture) where not (doesFileExist m.filename) collect m</p> <p class="code" style="padding-left: 30px;"><span style="font-size: 14px; line-height: 1.5em;">print missing_maps.count</span></p> <div></div> <div>What this does is first get all the bitmap texture objects in the scene: <span style="line-height: 21.6666679382324px;">"</span><span style="font-size: 14.4444446563721px; font-family: 'Courier New', Courier, monospace; line-height: 14px;">getClassInstances BitmapTexture"</span></div> <div>Then it loops through them: "<span style="font-family: 'Courier New', Courier, monospace; font-size: 14.4444446563721px; line-height: 14px;">for m in"</span></div> <div>And checks whether the file exists: "<span style="font-family: 'Courier New', Courier, monospace; font-size: 14.4444446563721px; line-height: 14px;">doesFileExist m.filename"</span></div> <div>Finally it combines them all in a single array, i<span style="font-size: 14.4444446563721px; line-height: 1.5em;">f they match the criterium:&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">"</span><span style="font-size: 14.4444446563721px; font-family: 'Courier New', Courier, monospace; line-height: 14px;">collect m"</span></div> <div></div> <div>And with ".count" we see how many there are in the resulting array (hopefully this will be zero).</div>Tue, 30 Sep 2014 13:50:09 UTC summer holidays are over...MaxStation<p>It's been silent too long on the MaxStation blog, regular posting will recommence soon!</p>Mon, 29 Sep 2014 10:46:44 UTC for 3ds Max 2015 and 3ds Max Design 2015 are availableMaxStation<p><span style="line-height: 1.5em; font-size: 14px;">Now available on the Autodesk Application Manager (if you don't see it just do a 'check now') or download them here:</span></p> <ul> <li><a href="">Autodesk 3ds Max 2015 Service Pack 2</a></li> <li><a href="">Autodesk 3ds Max Design 2015 Service Pack 2</a></li> </ul> <p>From <a href="">the readme file</a>, the following issues were addressed:</p> <ul> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-18050&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">The PhysX plug-in would cause a program error.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17998&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">The MAXScript interface to the Skin modifier's Envelope feature was incorrect.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17968&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Backburner: Split Scan Lines did not work when rendering a Camera view.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17895&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Save File As: The + button was hidden in the Japanese interface.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17866&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Frozen objects could be selected in viewports.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17727&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">ShaderFX materials weren't transferred properly when using the FBX format.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17725&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">OpenSSL has been upgraded to correct a security issue.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17680&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Wrong decimal separators have been fixed.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17669&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">FBX for 3ds Max plug-in presets were missing.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17631&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">The file crashMax.dlu was built into the wrong folder.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17550&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">ShaderFX nodes needed to be copied to user settings.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17434&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Base State material was resetting.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17431&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">The mental ray renderer would hang when rendering an empty scene in an orthographic view.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17342&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">It was impossible to rename a layer from the Layer Toolbar.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17282&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Opening the Layer Manager was slow when many objects were on a layer.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17263&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">ActiveShade would cause a buffer overflow.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17236&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Customer Error Report: An issue with ChamferedFaces has been fixed.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17235&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Customer Error Report: A core issue with object display has been fixed.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17210&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">The Crossing option for Window/Crossing selection was not working.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17172&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">The Cloth and Garment Maker modifiers were not localized.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17152&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Scripting a Dummy object was not working.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17101&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Viewport focal-point sampling was not working.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17097&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Rendering with the mental ray renderer would cause a program error.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17036&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Backburner 2015 running as a service would cause an "adapter error."</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-17024&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Rendering an area would not appear in the Rendered Frame window.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-16957&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">A change to Vertex Crease on the Ribbon would not update on the Editable Poly control panel.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-16813&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Composite map: Tile offset was not working in Nitrous viewports.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-16798&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">The movie list on the Welcome Screen contained a nonsense string.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-16796&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Nitrous viewports have been upgraded to support up to eight Composite map layers.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-16767&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Opening Layer Explorer with 1,000 layers was slow.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-16766&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">FBX import: Normals on skinned meshes were being ignored.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-16678&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">The installer for the plug-ins to exchange data with Adobe After Effects did not install the right files.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-16468&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">The animated Tours on the Welcome Screen were not localized.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-16407&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Display By Layer was not correctly displaying layer properties.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-16387&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Customer Error Report: Error opening certain files. This has been fixed.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-16241&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Scene Explorer would generate a MAXScript error exception when Esc was pressed.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-16140&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Scene Explorer: The object list would not resort when a file was renamed.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-15964&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Workspaces wouldn't load mnux.cfg files.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-11987&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">Customer Error Report: An error in Skin has been fixed.</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">MAXX-11011&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">CAT: A rig arm would not stretch with IK.</span></li> </ul>Tue, 12 Aug 2014 14:09:53 UTC million hitsMaxStation<p><span style="font-size: 14px; line-height: 1.5em;">2 million hits, wow!&nbsp;</span></p> <p><span style="font-size: 14px; line-height: 1.5em;"></span>Thanks everybody for reading this blog, for those adding comments: an even bigger thank you!</p> <p></p> <p><img src="/userdata/blogs/maxstation/nicolas/maxstation-2m-render.jpg" width="800" height="480" /></p> <p>Also thanks to the two bipeds (not that you can see them well in the render: one drives and the other pushes the cab and the trailer :) )</p>Tue, 29 Jul 2014 07:37:18 UTC a cab with a trailer along a pathMaxStation<p>The focus is on simple: the trailer is going to follow the cab but it's rear wheels are stuck to the path, so it's one of those modern ones with a steering rear axle :)</p> <p>As this started out as a simple proof of concept the cab and trailer are simply extruded lines:</p> <p><img src="/userdata/blogs/maxstation/nicolas/cab-trailer1.png" width="400" height="300" /></p> <p>Change the pivot point for the trailer to the point where it rotates behind the cab. And make sure the pivot is at z=0 otherwise we'll get problems when we use the lookat controller later on.</p> <p><img src="/userdata/blogs/maxstation/nicolas/cab-trailer2.png" width="400" height="300" /></p> <p>Parent the trailer to the cab</p> <p>Use a path controller to make the cab follow the path (in the Motion panel select the position and use the assign controller button to select the path controller, then add the path)</p> <p><img src="/userdata/blogs/maxstation/nicolas/cab-trailer3.png" width="400" height="300" /></p> <p>When you now play the animation the cab follows the path with the trailer rigidly attached. Not really what we want!</p> <p>To make the trailer follow the path we use a dummy that's slightly behind on the path and use a lookat controller on the trailer that points at this dummy. You can tweak how the trailer follows the path by adjusting how far the dummy is behind the cab.</p> <p><img src="/userdata/blogs/maxstation/nicolas/cab-trailer4.png" width="400" height="300" /></p> <p>And <a href="/userdata/blogs/maxstation/nicolas/">here is the file</a> if you want to play with it yourself</p>Fri, 25 Jul 2014 14:23:01 UTC lots of custom attributes in one go with MaxScript - part 2MaxStation<p>Yesterday's script would remove all custom attributes, looking at a sample file i got hold of many of the customer attributes didn't have a definition (and could therefore be safely removed), but some did hold definitions (and most likely you'd like to keep those). So here is a script that does just that: instead of repeating the code we define a function that will remove the custom attributes. First we loop forwards through the custom attributes to figure out how many there are and then we go backwards and delete those that have no definition.&nbsp;</p> <p></p> <p class="code">fn clean_ca x =</p> <p class="code"><span style="line-height: 1em; font-size: 14px;">(</span></p> <p class="code">&nbsp;-- first we count up and display</p> <p class="code">&nbsp;z=1</p> <p class="code">&nbsp;c=1 &nbsp;</p> <p class="code">&nbsp;while z !=undefined do</p> <p class="code">&nbsp;(</p> <p class="code">&nbsp; z = custattributes.getdef x c</p> <p class="code">&nbsp; if z != undefined then</p> <p class="code">&nbsp; (</p> <p class="code">&nbsp; &nbsp;format "% %\n" (custattributes.getdefdata z)</p> <p class="code"><span style="line-height: 1em; font-size: 14px;">&nbsp; &nbsp;c=c+1</span></p> <p class="code">&nbsp; )</p> <p class="code">&nbsp;)</p> <p class="code">&nbsp;-- then we count down and delete the ones that are undefined&nbsp;</p> <p class="code">&nbsp;while (c!=0) do</p> <p class="code">&nbsp;(</p> <p class="code">&nbsp; z = custattributes.getdef x c</p> <p class="code">&nbsp; if z != undefined then</p> <p class="code">&nbsp; (</p> <p class="code">&nbsp; &nbsp;if &nbsp;(custattributes.getdefdata z)==undefined then</p> <p class="code">&nbsp; &nbsp;(</p> <p class="code">&nbsp; &nbsp; custAttributes.delete x z</p> <p class="code">&nbsp; &nbsp;)</p> <p class="code">&nbsp; )</p> <p class="code">&nbsp; c=c-1</p> <p class="code">&nbsp;)</p> <p class="code">)</p> <p class="code"></p> <p class="code">clean_ca(rootscene)</p> <p class="code">clean_ca(meditmaterials)</p> <p class="code">clean_ca(rootscene.Anim_Layer_Control_Manager)</p> <p class="code"></p> <p class="code">You can <a href="/userdata/blogs/maxstation/nicolas/">download the file here</a>.</p> <p><strong>To be safe: please always keep a backup copy of the file.</strong></p>Thu, 10 Jul 2014 12:02:35 UTC lots of custom attributes in one go with MaxScriptMaxStation<p>To get rid of global custom attributes you can use the MaxScript function custattributes.delete, that takes two parameters the first an object and the second the attribute definition.</p> <p></p> <p>So to delete attributes from the current selection you run something like:</p> <p><span style="font-size: 14px; line-height: 1.5em;">a=$</span></p> <div class="code"> <p>b=custattributes.getdef a 1</p> <p>custAttributes.delete a b</p> <p>In the first line we store the current selected object in variable a, in the section line we get the first custom attribute definition and in the third line we delete that custom attribute on the object.</p> <p></p> <p>If the custom attributes are global they're not assigned to a specific object, instead they're part of the scene. We can access the scene 'object' itself using rootscene.&nbsp;</p> <p>And if there are lots of them you want to delete them all in one go, so you get something like:</p> <p><span style="font-size: 14px; line-height: 1.5em;">z=1</span></p> <p>while z !=undefined do</p> <p>(</p> <p>&nbsp;x = rootscene</p> <p>&nbsp;z = custattributes.getdef x 1</p> <p>&nbsp;custAttributes.delete x z</p> <p>)</p> <p></p> <p>If there are additional custom attributes in the material editor slots or in the animation layer control manager you can remove those using the meditmaterials and&nbsp;<span style="font-size: 14px; line-height: 1.5em;">rootscene.Anim_Layer_Control_Manager objects respectively.</span></p> <p><a href="/userdata/blogs/maxstation/nicolas/">Here is a little script</a> that removes all custom attributes from the rootscene, meditmaterials and the animation layer control manager.</p> <p><strong>To be safe: please always keep a backup copy of the file.</strong></p> </div>Wed, 09 Jul 2014 13:38:42 UTC for running 3ds Max 2015 render jobs as a service - UPDATEDMaxStation<div>This is the same information as my previous post to make it easier to find:&nbsp;<a href="/blogs/maxstation/n242-how-to-resolve-the-backburner-error-3dsmax-adapter-error-3dsmaxexe-process-no-response">how to resolve the backburner error 3dsmax adapter error 3dsmaxexe process no response</a>.</div> <div><strong><br /></strong></div> <div><strong><br /></strong></div> <div>3ds Max 2015 render jobs that run as a service (through Backburner but also through 3rd party render managers) will fail, running those same jobs as executables will be fine.</div> <div></div> <div>The workaround is to make sure the Scene Explorer is not docked in the profile for the user you run the service as, there are two approaches:</div> <div><ol> <li><span style="line-height: 1.5em; font-size: 14px;">run 3ds Max as the backburner service user,&nbsp;</span><span style="line-height: 1.5em; font-size: 14px;">undock the Scene Explorer window and close it,&nbsp;</span><span style="line-height: 1.5em; font-size: 14px;">close 3ds Max</span></li> <li><span style="line-height: 1.5em; font-size: 14px;">edit the&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;"> file (C:\\Users\\USERNAME\\AppData\\Local\\Autodesk\\3dsMax\\2015 - 64bit\\ENU\\en-US\\UI\\Workspaces\\ with a text editor and change the last entry in the [Explorer] section from "Visible=True" to "Visible=False".&nbsp;</span></li> </ol></div> <div><span style="font-size: 14px; line-height: 1.5em;">Once you've done this on a machine you can copy the&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;"> file</span><span style="font-size: 14px; line-height: 1.5em;">&nbsp;to all the other machines.</span></div> <div><span style="font-size: 14px; line-height: 1.5em;"><br /></span></div> <div><strong><span style="font-size: 14px; line-height: 1.5em;"><br /></span></strong></div> <div><strong><span style="font-size: 14px; line-height: 1.5em;">Additional information (thanks to NCViz for pointing this out): please also make sure that the scene explorer is closed when you submit the job otherwise the render will still fail.</span></strong></div>Fri, 27 Jun 2014 10:34:55 UTC a known good version of your user settingsMaxStation<p>Quite a while ago i wrote a post about resetting your user settings in case you run into strange behaviour in 3ds Max:&nbsp;<a href="/blogs/maxstation/n21_resetting_the_user_settings_in_3ds_max" style="font-size: 14px; line-height: 1.5em;">Resetting the user settings in 3ds Max</a></p> <p>One drawback is that you also loose all your UI customisations, so instead of deleting the folder and letting 3ds Max create fresh one from scratch you could also restore a clean set of settings.</p> <p>The recommended approach would be to start with fresh settings by deleting the&nbsp;C:\\Users\\&lt;username&gt;\\AppData\\Local\\Autodesk\\3dsMax\\2015 - 64bit\\ (replace 3dsMax with 3dsMaxDesign and adjust the version in case you're on an older release). Then configure 3ds Max the way you want. Once you're done zip up the2015 - 64bit'<span style="font-size: 14px; line-height: 1.5em;">.</span></p> <p>The next time you want to reset your user settings delete the&nbsp;<span style="font-size: 14px; line-height: 1.5em;">2015 - 64bit' folder and unzip it from the file you created earlier. That way you start with clean user settings and you retain your UI customisations.</span></p>Mon, 16 Jun 2014 08:02:35 UTC to resolve the Backburner error: 3dsmax adapter error: 3dsmax.exe process no response - UPDATEDMaxStation<p>If you run the Backburner Server as a service you get the error</p> <p class="code" style="padding-left: 30px;">3dsmax adapter error: 3dsmax.exe process no response</p> <p><span style="font-size: 14px; line-height: 1.5em;">When you run it as an application all is fine.</span></p> <p></p> <p>To prevent the error from happening when running the Backburner Serve as a service make sure that the user you run the service as had admin rights:</p> <ul> <li><span style="font-size: 14px; line-height: 1.5em;">o</span><span style="font-size: 14px; line-height: 1.5em;">pen the Start Menu</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">type services.msc in the search box, press Enter</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">right click on &ldquo;Backburner Manager version 2015.x&rdquo;, choose properties</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">in the &ldquo;Log On&rdquo; tab choose &ldquo;This Account&rdquo; and enter the user credentials</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">do the same for the &ldquo;Backburner Server version 2015.x&rdquo;</span></li> </ul> <div><strong><br /></strong></div> <div><strong>UPDATE:&nbsp;<span style="font-size: 14px; line-height: 1.5em;">Additionally for 3ds Max 2015/3ds Max Design 2015 jobs you need to make sure that the docked content explorer is disabled:</span></strong></div> <div> <ul> <li>run 3ds Max as the backburner service user,</li> <li>undock the content explorer window and close it</li> <li>close 3ds Max</li> </ul> <p>This will update the&nbsp; file (C:\\Users\\USERNAME\\AppData\\Local\\Autodesk\\3dsMax\\2015 - 64bit\\ENU\\en-US\\UI\\Workspaces\\ which you can then copy to the other machines. Alternatively just edit that file with a text editor and change the last entry in the [Explorer] section from "Visible=True" to "Visible=False".</p> </div>Fri, 13 Jun 2014 09:59:51 UTC for Revit interoperability security updateMaxStation<p>If you've installed the Security Update for Revit Interoperability and that removed the ability to link Revit files please run the attached reg file which will fix the registry entries.</p> <p><b><a href="/userdata/blogs/maxstation/nicolas/">Fix registry entries for Revit Interoperability Security Update</a></b></p> <p>What it does is change the path for the following <span style="font-size: 14px; line-height: 1.5em;">two strings under&nbsp;</span><span style="font-size: 14px; line-height: 1.5em;">HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\RevitEngine\\2015\\RX-06:0000 :</span></p> <ul> <li><span style="font-size: 14px; line-height: 1.5em;">INSTALLDIR&nbsp;</span></li> <li><span style="font-size: 14px; line-height: 1.5em;">InstallationLocation</span></li> </ul> <p><span style="font-size: 14px; line-height: 1.5em;">So that both contain the value C:\\Program Files\\Common Files\\Autodesk Shared\\Revit Interoperability 2015\\</span></p> <p><span style="font-size: 14px; line-height: 1.5em;"><br /></span></p> <p><span style="font-size: 14px; line-height: 1.5em;">We will be rereleasing the patch shortly.</span></p>Tue, 03 Jun 2014 07:51:26 UTC update for Revit Interoperability for 3ds Max and 3ds Max Design 2015 - UPDATEDMaxStation<p><strong>UPDATE: we're replacing this download so it's currently not available. More info soon!</strong></p> <p></p> <p>You can download the update here:&nbsp;<span style="line-height: 1.5em; font-size: 14px;">Autodesk Revit Interoperability for 3ds Max 2015 Security Update Release</span></p> <p>From the <a href="">readme</a> file:&nbsp;</p> <p style="padding-left: 30px;">This update release addresses the Heartbleed vulnerability - a security bug in the open-source OpenSSL cryptography library. Heartbleed is registered in the Common Vulnerabilities and Exposures system as CVE-2014-0160. For more information, please visit the CVE dictionary at <a href=""></a></p>Fri, 30 May 2014 12:59:33 UTC