Online Portfolio & Blog

My first MAXScript! Nanne’s ViewportColourSwitch 0.1

Category : MAXScript · No Comments · by Nov 27th, 2009

Big day today, I’ve just wrote my very first MAXScript ever! :D

Its function is very straight forward; it allows you to quickly toggle between the standard grey and pitch black colour of all the viewports.

The black viewport makes it easier to see particles when working with Particle Flow and the standard grey is my preferred option when working with other stuff. So this is simply an easy way to toggle back and forth between workflow.


  1. Put the file in your 3ds Max Startup Script folder (e.g. “…3ds max 2010ScriptsStartup”
  2. Start or restart 3ds Max
  3. Go to Customize -> Customize User Interface…
  4. In the Category drop-down list select Nanne’s Scripts
  5. Assign the script to a hotkey, a toolbar, a quad menu or a menu; it’s up to you
  6. Start toggling!

A special thanks goes to Marco “KIT” Brunetta over at for helping me with some of the code :)

Anyway, feel free to try it out. You can download it here: ViewportColourSwitch 0.1

I’ve just added the script on, so soon I will become famous, hehe :P Check it out here:

Cheers mates, and don’t forget to comment! ;)