Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

3ds Max Archive Issues

jamison.burt
Contributor

3ds Max Archive Issues

jamison.burt
Contributor
Contributor

When I run on any file even a brand new file with a cube and one material placed on it it opens the command window as usual just for a split second and then Max disappears.  

 

If I am remoted into my workstation and run an archive it does the same but not only does Max disappear but it then logs me out of my profile and disconnects my remote session.  When I log back in all windows/programs that were open are closed and it looks as if the remote machine has restarted. 

 

The resulting file is, instead of the usual ZIP with all assets. a folder labeled (t$m$p$$$) that contains the max file and a .TXT file that lists all the resources and their paths in text.  

 

Has anyone had this issue?  I was working in MAX 2021 and jumped to 2023 and now even an archive in 2021 no longer works and I've tried it on 3 machines in our office in both max version and cannot get a different result.

I can run recourse collector and that seems to work with bitmaps but cannot archive proxies and xfref models and files like before.  

 

Any help with this would be a life saver. 

0 Likes
Reply
Accepted solutions (1)
1,027 Views
3 Replies
Replies (3)

darawork
Advisor
Advisor
Accepted solution

Hi, are you running this script, or the in house max utility? 
We always run this script from scriptspot, and it works flawlessly with all assets including proxies and xrefs:

https://www.scriptspot.com/3ds-max/scripts/collect-asset

Archiving from the Max menu itself is a pile of pants, as it keeps the folder structure tree so as to be able to recreate it upon archive extraction. Sometimes this results in windows file paths longer than 250 characters especially if the people on the other team are storing all their textures and proxies on their desktops or distant network path, with sixteen sub folders. The zip can sometimes even fail to open, throwing up errors, and you lose a lot of assets in the process, or corrupt your file in some cases.

Regards,

Darawork
AutoDesk User
Windows 10/11, 3DS Max 2022/24, Revit 2022, AutoCad 2024, Dell Precision 5810/20, ASUS DIY, nVidia Quadro P5000/RTX 5000/GTX760

0 Likes

jamison.burt
Contributor
Contributor

Thanks man this works splendidly!

Cheers

Prakhar_Tiwari2UXN8
Community Visitor
Community Visitor

Hi @darawork , I'm actually using a python script to leverage the archiving functionality, however I'm getting the same issue, here're some excerpts from the code

from pymxs import runtime as rt
 
archiveStatus = rt.archiveMaxFile(archive_folder_path, quiet = True)
 
 
 
Also I tried this instead of the above
rt.execute('max file archive')
 
but for some reason it doesn't work, it just keep going on.
Any help would be appreciated!
0 Likes