Tag Archives: 3ds Max

3ds Max Maxscript Help: Snippets

Here is a list of practical examples for the syntax of scripting in 3ds Max with it’s internal language, maxscript. This isn’t a tutorial and HOWTO script, but more of a reference of how to format commands.

I’ll continue to update this post as I go on as it’s a resource for me as much as anyone else, let me know if there are any useful additions!

Note also that the indenting isn’t necessary but I think it’s a good habit (and I mostly use Python which requires it)

Arrays

Strings

Scene

Objects

Modifiers

Interaction

Macroscript loader

Useful to load at startup, points at an updateable script

Misc

System access

In windows…

3ds Max plugins

Always good to keep your scripts and plugins seperate from the main install IF YOU CAN (max can be a lot of trouble with this, other applications are set up purposely in a much nicer way)

In the plugin.ini file, add a path for your custom scripts, under
[Directories]

The plugin.ini file used to be located in the install directory, I believe it has been moved to the user folder in later releases. ( I use 2010 at work and tend to use Softimage at home so I’m not 100%)
C:\Program Files\Autodesk\3ds Max 2010\plugin.ini