Category Archives: Maxscript

3ds max scripting

New Version of the mass export selected script..

Here is a small update to my old script that does mass exporting of all selected objects as individual files it also supports frameranges if you want to export a simulation…

The New features are:

  1. Settings in the util are stored in a ini file, so they are kept when you quit the util
  2. I added a reset ini button so you can go back to the default settings
  3. A simple button that selects all visible objects
  4. I also made the outputPath button show the current outputPath..

download os3d_exportobj_v15

Here is a link to the same script at scriptspot

I am adding some maxscript tutorials here…

I am doing some training for 3D artists that want to speed up their work with some simple scripting…

For example…

  1. update tetxure paths
  2. batch merge maxfiles and render them
  3. change multiple objects
  4. update materials on objects…

Typical tasks that are really boring to do by hand and can be solved by scripting.
There is alot of scripts out there that solves most of theese problems… but it can be nice to know some small tricks so you can solve a specific issue in a project without a graphical user interface. Just 3-4 lines of code.

Read more here


OS3D Mass exporter v09



My first version of this script was created to simplify the process of exporting many objects from one 3dsmax scene into separate obj files.

Now I have added another feature by request from a user so it now supports exporting frames or a framerange of the selected objects.

Lets say you have created some sort of simulation inside 3dsmax and want to import that into another tool. Ex cloth simulation.

This will create a separate .obj file for every frame and also every object you have selected.

You can run it by just dragNdrop it onto 3dsmax.

Known bugs:
I know that some export formats does not support the “Export Selected” function which makes this script not very useful for certain fileformats.

I have tried .obj and .3ds alot and thoose work. (you still have the old issue with 3ds format and the 64K limit in facecount, but that is the limitation of 3ds)

I hope someone else finds this useful!

Anyone that has some tips of how to import an .obj sequences into maya/softimage/houdini are very welcome to comment! Since this is not my main tools I am not the wiz on that.

A small photoshop script for us Texture artists.

Hi I am currently working alot with creating tileable textures from photographs and I got tired of the annoying process of calculating the realworld scale of the object.
Download here
Works for Photoshop CS2 and CS3, Does not work in CS..

The functions is very simple.
Watch this video for example…

  1. You create a linepath in photoshop representing a real value.
  2. Run my script and it measures that line and gives you the value in pixels.
  3. you type in what the real value was for this distance for example. 300mm
  4. Press Set Dpi and it sets the Dpi value for the image
  5. Now if you use the measue tool or go into image size it should show the realworld value of that texture..


  1. Save or move the file OS3DSetDpi v02.jsx to \Adobe\Adobe Photoshop CS3\Presets\Scripts\
  2. Restart photshop

Tip! Watch video for installation of action
To simplify usage do record an action where you do the following:

  1. Create new document and draw a single line path in it. 
  2. Run the script from file/scripts/OS3DSetDpi v02. Type in anything.
  3. Go to paths and delete the work path
  4. Done!
  5. Optionally: Assign an ShortCutKey to run this more easily.