3DS Max scripts

Created by Anders K. Nielsen

Overview

Blog
Maxscripts
AKN Toolkit
Lastest script icons
Adjust Pivot
Adjust Turbosmooth
Mass Export FBX to UE4
Mass Replace MatIDs
No Smoothing ID Detection
LOD Controller Detection
XForm Seeker

This is my collection of maxscripts I have made to help with my workflow and wanted to share them in case someone else might make good use of them. All the scripts are copyrighted 2017 by Anders Kjeldgaard Nielsen. No redistribution without explicit permission of the author.

If you have any feedback for me, or like some features or changes to the scripts, please send your input to anders.k.nielsen at gmail.com


AKN Toolkit v1.0

Last updated 22th July, 2017

This is the main collection, that includes all the scripts below in one file, as well the startup file and icons. The scripts included is:

  • Adjust Pivot
  • Adjust Turbosmooth
  • Mass Export FBX to UE4
  • Mass Replace MatIDs
  • No Smoothing ID Detection
  • LOD Controller Detection
  • XForm Seeker

To install: Download the zip file and unpack it.

Copy the content of the folder "icons" into your usericons folder:
    C:\Users\<user>\AppData\Local\Autodesk\3dsMax\<3dsmax version>\ENU\usericons\

Copy the folder "AKNToolset" into youe scripts folder:
    C:\Users\<user>\AppData\Local\Autodesk\3dsMax\<3dsmax version>\ENU\scripts\

Copy the file in the "startup" folder into your startup scripts folder:
    C:\Users\<user>\AppData\Local\Autodesk\3dsMax\<3dsmax version>\ENU\scripts\startup\

To use: Start 3DS Max and go into Customize > Customize User Interface, and select "AKNToolset" in the Category dropbox, and either assign hotkeys or go to Toolbars tab and drag them to a toolbar.

» 3ds Max 2016+ | download v1.0

Latest script icons

Last updated 22th July, 2017

AKNToolkit_24i This is the toolbar icons related to the scripts. The files are automatically included in the AKN Toolkit zip file, and is only needed if you download the scripts individually, and don't want to assign your own toolbar button icons.

If anyone feel the urge to come up with some better icons, please do, as this isn't something I'm not that great at yet. Please note that the numbers is for future scripts.

To install: Download the zipfile and unpack it directly into the usericons folder.

» 3ds Max 2016+ | download script icons

Adjust Pivot v0.9

Last updated 21th July, 2017

script_ui_adjust_pivot

This script gives the user the ability to quickly adjust the pivot on the selected objects.

To use, select objects and use the arrow buttons to quick set the pivot to the objects bounding box min/max size in either axis. 3x3 buttons are set in x,y position, and the 3 buttons to the right is for z position.

If you have linked or grouped objects, you can use the "Match Pivot to Parent" match all the childrens pivot match with the top level parent.

Use the "Set Pivot to 0,0,0" to set all objects pivots to 0,0,0.

» 3ds Max 2016+ | download v0.9

Adjust Turbosmooth v1.0

Last updated 21th July, 2017

script_ui_adjust_turbosmooth

Quickly adjust all the selected objects turbosmooth modifiers.

To use, select the objects and then either use the "Set iteration" to set all modifiers to a set amount (currently max set to 4), or use the +/- buttons to increase/decrease the amount on the selected objects. If you have more then one turbosmooth on your object, check the box "Only first instance" to only affect the top most turbosmooth modifier.

You can also delete all turbosmooth modifiers from selected objects by pressing the "Delete Turbosmooth" button. Use "Only first instance" checkbox to only delete the first one.

Use the "Move to top" to move the modifier to be at top of the stack. This is also affected by the "Only first instance" checkbox.

» 3ds Max 2016+ | download v1.0

LOD Controller Detection v1.0

Last updated 21th July, 2017

This finds objects which has the LOD controller property assigned to them. Helpful for finding objects that isn't part of a LOD group anymore as it can crash 3ds max on export.

Unfortunately maxscript doesn't have access to the LOD controller, and you cannot delete it via maxscript, so at the moment stuck with finding the objects and then manually remove the LOD property.

» 3ds Max 2016+ | download v1.0

Mass Export FBX to UE4 v0.9

Last updated 21th July, 2017

The script take your selection and then sort them into sets by the top most parent, and then you can export them as FBX files. Optionally it will move the objects to 0,0,0 before exporting and back again, and can detect related collision boxes and include them.

images/script_ui_mass_export_fbx

The script is functional, but I want more features for it. Currently set names are generated from the parent name, but I want to add options to renaming sets, manually add/remove objects to sets, manually create sets and more. At the moment filesets are generated in one go, and will be replaced when using Get Filesets button.

» 3ds Max 2016+ | download v0.9

Mass Replace MatIDs v1.0

Last updated 21th July, 2017

script_ui_replace_matids

Replace material id on selected objects with another material id. Can also set all polygons ids. Requires editable poly modifier or edit poly object, if not, the script will ask if it should add an editable poly modifier.

» 3ds Max 2016+ | download v1.0

No Smoothing ID Detection v0.5

Last updated 20th July, 2017

Will find objects which has polygons that doesn't have any smoothing group assigned to them. Select objects and press run script, all objects with missing smoothing groups will be selected and the others will be deselected. Was just an easy way for me to find objects that was missing some smoothing before baking normals.

» 3ds Max 2016+ | download v0.5

XForm Seeker v1.0

Last updated 20th July, 2017

script_ui_xform_seeker

This finds all objects which has a rotation/scaling on them, from selection or whole scene. It also allows the user to apply a Editable Poly modifier and XForm to them and then collapse the stack.

» 3ds Max 2016+ | download v1.0