<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/maxscript</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 13:42:04 GMT</pubDate>
<item>
<title>(Maxscript) SELECT INTERSEPTIONS OBJECTS - barigazy</title>
<link>http://snipplr.com/view/66175/select-interseptions-objects/</link>
<description><![CDATA[ <p>select all object that intersect each other</p> ]]></description>
<pubDate>Tue, 17 Jul 2012 04:35:17 GMT</pubDate>
<guid>http://snipplr.com/view/66175/select-interseptions-objects/</guid>
</item>
<item>
<title>(Maxscript) DELETE  CAP FACES FROM CONVERTED SPLINE - barigazy</title>
<link>http://snipplr.com/view/66174/delete--cap-faces-from-converted-spline/</link>
<description><![CDATA[ <p>This FN works with EPoly and EMesh objects</p> ]]></description>
<pubDate>Tue, 17 Jul 2012 04:30:25 GMT</pubDate>
<guid>http://snipplr.com/view/66174/delete--cap-faces-from-converted-spline/</guid>
</item>
<item>
<title>(Maxscript) Color Convert Functions - barigazy</title>
<link>http://snipplr.com/view/66173/color-convert-functions/</link>
<description><![CDATA[ <p>Easy way to convert color values using MXS</p> ]]></description>
<pubDate>Tue, 17 Jul 2012 04:23:46 GMT</pubDate>
<guid>http://snipplr.com/view/66173/color-convert-functions/</guid>
</item>
<item>
<title>(Maxscript) DECIMAL PADDING - barigazy</title>
<link>http://snipplr.com/view/66172/decimal-padding/</link>
<description><![CDATA[ <p>Add decimal padding</p> ]]></description>
<pubDate>Tue, 17 Jul 2012 04:04:17 GMT</pubDate>
<guid>http://snipplr.com/view/66172/decimal-padding/</guid>
</item>
<item>
<title>(Maxscript) SORTING MULTIDIM ARRAY BY NAME OR BY COUNT - barigazy</title>
<link>http://snipplr.com/view/66171/sorting-multidim-array-by-name-or-by-count/</link>
<description><![CDATA[ <p>Sort multidimesional array using qsort</p> ]]></description>
<pubDate>Tue, 17 Jul 2012 03:52:47 GMT</pubDate>
<guid>http://snipplr.com/view/66171/sorting-multidim-array-by-name-or-by-count/</guid>
</item>
<item>
<title>(Maxscript) Select Last Created Object - barigazy</title>
<link>http://snipplr.com/view/66170/select-last-created-object/</link>
<description><![CDATA[ <p>Select last created object using "getNodeByHandle" fn</p> ]]></description>
<pubDate>Tue, 17 Jul 2012 03:49:10 GMT</pubDate>
<guid>http://snipplr.com/view/66170/select-last-created-object/</guid>
</item>
<item>
<title>(Maxscript) Filter sufix number - barigazy</title>
<link>http://snipplr.com/view/66169/filter-sufix-number/</link>
<description><![CDATA[ <p>Get only object name number as string</p> ]]></description>
<pubDate>Tue, 17 Jul 2012 03:44:43 GMT</pubDate>
<guid>http://snipplr.com/view/66169/filter-sufix-number/</guid>
</item>
<item>
<title>(Maxscript) Load Assembly - barigazy</title>
<link>http://snipplr.com/view/66167/load-assembly/</link>
<description><![CDATA[ <p>Load assembly from maxroot directory.</p> ]]></description>
<pubDate>Tue, 17 Jul 2012 03:35:44 GMT</pubDate>
<guid>http://snipplr.com/view/66167/load-assembly/</guid>
</item>
<item>
<title>(Maxscript) RPManager : Control multiple object properties with single object for faster rpmanager performance - reform</title>
<link>http://snipplr.com/view/66097/rpmanager--control-multiple-object-properties-with-single-object-for-faster-rpmanager-performance/</link>
<description><![CDATA[ <p>A big thanks to Grant from RPManager for this: (copied from rpmanager forums)

First, add a single object to a capture set. Define the properties for this object as if it is your 'capture set global settings' control, and per pass setup what you want per pass for the settings of all objects you want to control.
 
Then, deselect your control object, and select all the objects you want controlled and then last of all select the control object again (important you select it last), and then evaluate this in a maxscript window: 

Then restore you passes and marvel that all the objects properties are set (I tried it on some spheres, with box mode and RPMMaterial, so maybe try that first in case it doesn't work in other cases. I suspect it will though)
 
This works for per object RPMMaterial too, if you have RPMMaterial captured, and each object has a different rpmmaterial, each will have its own mat restored.
 
To update the state of the captured properties, simply edit that single objects properties.</p> ]]></description>
<pubDate>Thu, 12 Jul 2012 21:46:38 GMT</pubDate>
<guid>http://snipplr.com/view/66097/rpmanager--control-multiple-object-properties-with-single-object-for-faster-rpmanager-performance/</guid>
</item>
<item>
<title>(Maxscript) RPManager : Control modifiers on a per-pass basis - reform</title>
<link>http://snipplr.com/view/66096/rpmanager--control-modifiers-on-a-perpass-basis/</link>
<description><![CDATA[ <p>It is sometimes useful to have different modifier enabled or disabled for different passes. An alternative to using a different objects via visibility sets is to use the Before/After scripts to enable or disable the modifiers.
 
Modifiers can be accessed via MXS using either index (from the top), or by name - name is obviously more reliable since adding modifiers will mess up the index.
 
One way of getting an objects modifier by name is:
 
$'objectname'.modifiers[#modifiername]
 
(where 'objectname' is the name of the object and #modifiername is the modifier name - it pays to rename the modifier so you don't have multiples with the same name) and then  
 
.enabled = true/false
 
You can of course also modify other properties.
 
*Note that the ' used either side of the object name is useful - it enables referencing objects with spaces in their names (not that I personally like spaces in names...)</p> ]]></description>
<pubDate>Thu, 12 Jul 2012 21:42:25 GMT</pubDate>
<guid>http://snipplr.com/view/66096/rpmanager--control-modifiers-on-a-perpass-basis/</guid>
</item>
<item>
<title>(Maxscript) List current render properties and output into a new maxscript window - reform</title>
<link>http://snipplr.com/view/66083/list-current-render-properties-and-output-into-a-new-maxscript-window/</link>
<description><![CDATA[ <p>Thanks to Grant from RPManager for writing and sharing this script.</p> ]]></description>
<pubDate>Thu, 12 Jul 2012 01:08:16 GMT</pubDate>
<guid>http://snipplr.com/view/66083/list-current-render-properties-and-output-into-a-new-maxscript-window/</guid>
</item>
<item>
<title>(Maxscript) RPManager : preview options - reform</title>
<link>http://snipplr.com/view/66082/rpmanager--preview-options/</link>
<description><![CDATA[ <p>Some handy scripts for vray preview renders in rpmanager</p> ]]></description>
<pubDate>Thu, 12 Jul 2012 01:06:00 GMT</pubDate>
<guid>http://snipplr.com/view/66082/rpmanager--preview-options/</guid>
</item>
<item>
<title>(Maxscript) delayed keys float script expression for - reform</title>
<link>http://snipplr.com/view/66081/delayed-keys-float-script-expression-for/</link>
<description><![CDATA[ <p>Create a script controller
Create a variable called LinkObj
Select variable LinkObj, click assign node, and select the object you want to drive your animation from.
Paste the code into the expression box.
Edit the number of frames you want to offset by.</p> ]]></description>
<pubDate>Wed, 11 Jul 2012 23:50:23 GMT</pubDate>
<guid>http://snipplr.com/view/66081/delayed-keys-float-script-expression-for/</guid>
</item>
<item>
<title>(Maxscript) Birth script to create particles on vertices - reform</title>
<link>http://snipplr.com/view/65946/birth-script-to-create-particles-on-vertices/</link>
<description><![CDATA[ <p>Place this into a plow birthscript
Remember to replace "object03" with the distributor object</p> ]]></description>
<pubDate>Wed, 04 Jul 2012 22:20:53 GMT</pubDate>
<guid>http://snipplr.com/view/65946/birth-script-to-create-particles-on-vertices/</guid>
</item>
<item>
<title>(Maxscript) Get Ethernet network card (MAC) address - martinB</title>
<link>http://snipplr.com/view/23006/get-ethernet-network-card-mac-address/</link>
<description><![CDATA[ <p>Taken from a scriptspot posting by 3d-kstudio.com</p> ]]></description>
<pubDate>Thu, 12 Nov 2009 09:08:13 GMT</pubDate>
<guid>http://snipplr.com/view/23006/get-ethernet-network-card-mac-address/</guid>
</item>
<item>
<title>(Maxscript) Change Project Folder automatically if present - volvis</title>
<link>http://snipplr.com/view/16017/change-project-folder-automatically-if-present/</link>
<description><![CDATA[ <p>When placed in startup scripts, this snippet activates every time user opens a file. It then traverses the directory path backwards and looks for user created project folders. If one is found, script offers to switch it on.

This is very useful when working with a number of projects at a time.</p> ]]></description>
<pubDate>Wed, 17 Jun 2009 06:53:57 GMT</pubDate>
<guid>http://snipplr.com/view/16017/change-project-folder-automatically-if-present/</guid>
</item>
<item>
<title>(Maxscript) Select Related VrayProxys - vsai</title>
<link>http://snipplr.com/view/12251/select-related-vrayproxys/</link>
<description><![CDATA[ <p>Selects all vray proxys in the scene which have the same vrmesh as your current selection. (For those Oops, thats not an instance moments.)</p> ]]></description>
<pubDate>Mon, 16 Feb 2009 11:41:26 GMT</pubDate>
<guid>http://snipplr.com/view/12251/select-related-vrayproxys/</guid>
</item>
<item>
<title>(Maxscript) Select Vraydisplaced - vsai</title>
<link>http://snipplr.com/view/12250/select-vraydisplaced/</link>
<description><![CDATA[ <p>Select all objects with a VrayDisplaceMod on them</p> ]]></description>
<pubDate>Mon, 16 Feb 2009 11:39:25 GMT</pubDate>
<guid>http://snipplr.com/view/12250/select-vraydisplaced/</guid>
</item>
<item>
<title>(Maxscript) Map world point to viewport coordinates - martinB</title>
<link>http://snipplr.com/view/11908/map-world-point-to-viewport-coordinates/</link>
<description><![CDATA[ <p>Original code by Borislav 'Bobo' Petrov</p> ]]></description>
<pubDate>Fri, 06 Feb 2009 08:31:25 GMT</pubDate>
<guid>http://snipplr.com/view/11908/map-world-point-to-viewport-coordinates/</guid>
</item>
<item>
<title>(Maxscript) Find missing plugin instances - martinB</title>
<link>http://snipplr.com/view/11907/find-missing-plugin-instances/</link>
<description><![CDATA[ <p>Finds all scene elements that belong to missing plugins, original code by Larry Minton</p> ]]></description>
<pubDate>Fri, 06 Feb 2009 08:28:41 GMT</pubDate>
<guid>http://snipplr.com/view/11907/find-missing-plugin-instances/</guid>
</item>
</channel>
</rss>