Browse

Browse

whitebirchstudios
Collaborator Collaborator
450 Views
4 Replies
Message 1 of 5

Browse

whitebirchstudios
Collaborator
Collaborator

Running a script that browses my drive locks MAX 2020 up in the not responding 50% of the time. I'll crash MAX and try it again and it'll work fine.

0 Likes
451 Views
4 Replies
Replies (4)
Message 2 of 5

10DSpace
Advisor
Advisor

Hi @whitebirchstudios 

 

Is the script functioning in other versions of max?  Can you view the script or is it encrypted?  What is the name of the script?

 

I am not sure what you mean by "browse your drive", but I have a number of scripts that I have written that open the file browser dialogue using the following command:

 

fdir = GetSavePath caption: "Select Directory for Export" initialDir:(maxFilePath)

 

I have not had any crashes with any of these scripts in Max 2020.3 (or any other recent version of Max).  Do your crashes occur with the opening of the file open dialogue or at some other time?

 If you want to test a simple export to an .fbx file of a selected object in a scene which opens the browse dialogue, you could run the following snippet and see if you are free from crashes with it


fdir = GetSavePath caption: "Select Directory for Export" initialDir:(maxFilePath)
theClasses = exporterPlugin.classes
_objIdx = findItem theClasses FbxExp

-- without *.FBX export dialog
exportFile (fdir + "\\" + $.name) #noprompt selectedOnly:on using:theClasses[_objIdx]

 

Just some troubleshooting thoughts for you as a starting point.  It might help narrow the issue down a bit. 

 

 

0 Likes
Message 3 of 5

whitebirchstudios
Collaborator
Collaborator

Well, batch merge, relink, and SINI Forensic for starters. All needs you to navigate to a folder on your drive. I use MAX 2020.3

0 Likes
Message 4 of 5

10DSpace
Advisor
Advisor

OK then, I do not have this issue with any version of max including 2020.  Maybe someone else can help.

Message 5 of 5

whitebirchstudios
Collaborator
Collaborator

Twice today... maddening!!!

0 Likes