3D Studio Max 6+ MaxScript to use unMessDTS
by Todd D. Degani · 03/15/2005 (4:28 pm) · 6 comments
Download Code File
unMessDTS Rollout v1.0
03/15/05 - todd.degani@gmail.com
Written for Max 6 and 7
This rollout is to automate the process of unMess-ing dts shapes for Torque
To install:
1. Copy the unMessDTS.ms MaxScript to a local directory
2. In the utilities dropdown select the button labeled MAXScript
3. Press the Open Script button in the MAXScript utility and open the unMessDTS.ms script from your local directory
4. In the MaxScript Listener (the window that opens up), select all of the text by pressing Ctrl + A
5. Drag all the text to your toolbar or to a tab panel. If it works you will either see a button with a small window with a blue top.
6. Right click the button and choose Edit Button Appearance
7. Click the Text Button radio button
8. Name the button unMessDTS and press Ok
To use:
Setup the path to the unMessDTS executable
Select a source dts file
Select a destination dts file. If you do not specify a destination dts file then the source fle will be overridden
Press the unMess Shape button
Other notes:
1. MAXScript does some funky things with the Command Prompt output which has forced the use of a batch file.
2. A Commmand Prompt window will flash briefly. This is normal.
3. A batch file called "c:\unMessDTS.bat" is created to hold the command to be executed. This file is deleted after use.
4. The paths to unMessDTS, the last used source folder, and the last used destination folders are saved in the Max ini file.
5. Since the getMAXIniFile() function only exists in Max 6 and higher this script will only work as is for those versions. For previous versions of Max you will need to work around/remove/replace that function in the script.
6. The idea to write to a batch file is from CompareFiles-v0_2.ms by swami@cfl.rr.com
unMessDTS Rollout v1.0
03/15/05 - todd.degani@gmail.com
Written for Max 6 and 7
This rollout is to automate the process of unMess-ing dts shapes for Torque
To install:
1. Copy the unMessDTS.ms MaxScript to a local directory
2. In the utilities dropdown select the button labeled MAXScript
3. Press the Open Script button in the MAXScript utility and open the unMessDTS.ms script from your local directory
4. In the MaxScript Listener (the window that opens up), select all of the text by pressing Ctrl + A
5. Drag all the text to your toolbar or to a tab panel. If it works you will either see a button with a small window with a blue top.
6. Right click the button and choose Edit Button Appearance
7. Click the Text Button radio button
8. Name the button unMessDTS and press Ok
To use:
Setup the path to the unMessDTS executable
Select a source dts file
Select a destination dts file. If you do not specify a destination dts file then the source fle will be overridden
Press the unMess Shape button
Other notes:
1. MAXScript does some funky things with the Command Prompt output which has forced the use of a batch file.
2. A Commmand Prompt window will flash briefly. This is normal.
3. A batch file called "c:\unMessDTS.bat" is created to hold the command to be executed. This file is deleted after use.
4. The paths to unMessDTS, the last used source folder, and the last used destination folders are saved in the Max ini file.
5. Since the getMAXIniFile() function only exists in Max 6 and higher this script will only work as is for those versions. For previous versions of Max you will need to work around/remove/replace that function in the script.
6. The idea to write to a batch file is from CompareFiles-v0_2.ms by swami@cfl.rr.com
About the author
#2
Hmm, I noticed that as well. Since I just posted it testerday it may take a few for this to get all sorted out.
03/16/2005 (7:40 am)
@JacobHmm, I noticed that as well. Since I just posted it testerday it may take a few for this to get all sorted out.
#3
03/16/2005 (9:29 am)
Its a known bug - you have to re-upload your file for it to work
#5
Just put a link to it on the Creating a Complex Character page!
~C
a 3d artists journal
01/09/2009 (2:11 am)
This is a great resource! Its awesome! Thanks so much!!Just put a link to it on the Creating a Complex Character page!
~C
a 3d artists journal
#6
02/10/2009 (3:32 pm)
Glad people are still finding some use out of it. 
Torque 3D Owner Jacob
...however, the link seems to not be ready yet. It just brings up a new instance of this page.