3ds max does not load custom scripts!!!

3ds max does not load custom scripts!!!

I_Megaman_i
Collaborator Collaborator
2,527 Views
14 Replies
Message 1 of 15

3ds max does not load custom scripts!!!

I_Megaman_i
Collaborator
Collaborator

Hey

 

even after saving hotkeys in hotkey editor 3ds max is ignoring all my custom scripts on startup located here:

I_Megaman_i_0-1689451359089.png

never had anything like that before, obviously something is broken, 3ds max 2024.1

 

Thanks.

0 Likes
2,528 Views
14 Replies
Replies (14)
Message 2 of 15

I_Megaman_i
Collaborator
Collaborator

any hint?

0 Likes
Message 3 of 15

darawork
Advisor
Advisor

Hi,

 

Just a thought but do the scripts load when the Safe Scene Script Exection feature is turned off?

Regards, 

Darawork
AutoDesk User
Windows 11, 3DS Max 2026, Revit 2026, AutoCad 2026, Dell Precision 7875 nVidia - Quadro RTX4000 ATA - AMD Ryzen Threadripper PRO 7965WX 24-Cores - 128GB RAM

0 Likes
Message 4 of 15

DanielCantin
Autodesk
Autodesk

Have you verify your Menu Customize > Configure User and System Paths... > Additional Macros path to make sure it point to the folder?

 

I don't know about Safe Scene Script Exection feature is turned off



Daniel Cantin
QA Manager, 3ds Max, Maya
Entertainment Creation Products, ECP
0 Likes
Message 5 of 15

DanielCantin
Autodesk
Autodesk

I've checked and Safe Scene Script Exection feature is turned off should not impact your script executions



Daniel Cantin
QA Manager, 3ds Max, Maya
Entertainment Creation Products, ECP
0 Likes
Message 6 of 15

darawork
Advisor
Advisor

Hi,

 

Ok, was just an idea. It does block a lot of MAXscript commands:

darawork_0-1689606621203.png

https://help.autodesk.com/view/3DSMAX/2024/ENU/?guid=GUID-1DA88B14-D7B6-4EA9-A678-4D8061467D64

Regards,

Darawork
AutoDesk User
Windows 11, 3DS Max 2026, Revit 2026, AutoCad 2026, Dell Precision 7875 nVidia - Quadro RTX4000 ATA - AMD Ryzen Threadripper PRO 7965WX 24-Cores - 128GB RAM

0 Likes
Message 7 of 15

DanielCantin
Autodesk
Autodesk

Thanks @darawork , you might be right, I just did a quick test with a macro script



Daniel Cantin
QA Manager, 3ds Max, Maya
Entertainment Creation Products, ECP
Message 8 of 15

I_Megaman_i
Collaborator
Collaborator

None of the above worked.

0 Likes
Message 9 of 15

darawork
Advisor
Advisor

Hi, 

Few more ideas:

 

Check the Preferences Maxscript page and check if the Load Startup Maxscripts checkbox is ticked on, should be, but might have gotten switched off by mistake.

 

Or create a new Scripts folder in your My Documents / 3dsmax folder. Then add that new folder as a 3rd party plug-in location to look for via User and System Paths. 

 

I've all my startup scripts in a 3rd party plug-ins location in My Documents / 3dsmax / MyScripts folder. 

 

Users can nearly be certain that files in that location are not affected by whatever Group Policy permissions have been set by Windows or the System Administrator, if there is one. 

 

Regards, 

 

Darawork
AutoDesk User
Windows 11, 3DS Max 2026, Revit 2026, AutoCad 2026, Dell Precision 7875 nVidia - Quadro RTX4000 ATA - AMD Ryzen Threadripper PRO 7965WX 24-Cores - 128GB RAM

0 Likes
Message 10 of 15

I_Megaman_i
Collaborator
Collaborator

@darawork wrote:

Hi, 

Few more ideas:

 

Check the Preferences Maxscript page and check if the Load Startup Maxscripts checkbox is ticked on, should be, but might have gotten switched off by mistake.

 

Or create a new Scripts folder in your My Documents / 3dsmax folder. Then add that new folder as a 3rd party plug-in location to look for via User and System Paths. 

 

I've all my startup scripts in a 3rd party plug-ins location in My Documents / 3dsmax / MyScripts folder. 

 

Users can nearly be certain that files in that location are not affected by whatever Group Policy permissions have been set by Windows or the System Administrator, if there is one. 

 

Regards, 

 


Placing macroscripts in a new folder creates too many errors. 

Weird thing is that half of the scripts are loaded just fine...I dont get it.

0 Likes
Message 11 of 15

I_Megaman_i
Collaborator
Collaborator

this and several other scripts are not loaded and are not showing up in the hotkey editor.

 

steps to reproduce on 3ds max 2024.1:

1. copy the contents of the file and compile the script

2. confirm its in the hotkey editor. its called "smooth30retriangulate" in "!Scripts" category

3. click "done" and restart Max

4. Start Max and check if the script is still in hotkey editor

 

0 Likes
Message 12 of 15

darawork
Advisor
Advisor

Hi, I'd install a random persons script if I had a sandboxed Workstation, with the network cable plugged out. But no. 

 

Have you tried bringing this up with official Autodesk support? We're all just mainly users like yourself here.

 

Regards, 

Darawork
AutoDesk User
Windows 11, 3DS Max 2026, Revit 2026, AutoCad 2026, Dell Precision 7875 nVidia - Quadro RTX4000 ATA - AMD Ryzen Threadripper PRO 7965WX 24-Cores - 128GB RAM

0 Likes
Message 13 of 15

I_Megaman_i
Collaborator
Collaborator

@darawork wrote:

Hi, I'd install a random persons script if I had a sandboxed Workstation, with the network cable plugged out. But no. 

 

Have you tried bringing this up with official Autodesk support? We're all just mainly users like yourself here.

 

Regards, 


dude, its my script lol you can probably guess by my forums level Im not a random guy. but ok)

Message 14 of 15

darawork
Advisor
Advisor

Hi, I may have freaked out. But, it's with due cause. Everyone throws
around free DIY code, myself included.

3DSMax security features should catch rogue code. Since 2021. So there's
nothing to worry about. Really.

I made a mistake saying that you should try to load your Macroscripts as a
pre load routine from my documents / 3dsmax , that was a mistake. Of course
it will throw up errors. It is executing all scripts at the start, not
loading them into memory, executing them at runtime. Doh.

If your hot key bound macros aren't being found, through the usual route,
for some unknown reason there is zero reason to move them. Something is
definitely up. Be it Windows, IT dept or Autodesk. It's certainly not "User
Error". Therefore:

If I was a license holder and this happened to me, where it used to work
before flawlessly, I'd be onto proper support channels. It comes as part of
the product cost.

Don't hang up the call until it's sorted.

https://www.autodesk.com/support/contact-support

 

If that fails, I do know a nice script where you can execute up to four folders of custom code from one single toolbar button. 

 

https://www.scriptspot.com/3ds-max/scripts/list-scripts-in-folder

 

scriptlist1.png

 

I've been using this myself to run custom scripts, post load, for years. Really good. 


🙂


Darawork
AutoDesk User
Windows 11, 3DS Max 2026, Revit 2026, AutoCad 2026, Dell Precision 7875 nVidia - Quadro RTX4000 ATA - AMD Ryzen Threadripper PRO 7965WX 24-Cores - 128GB RAM

0 Likes
Message 15 of 15

I_Megaman_i
Collaborator
Collaborator

well, geniuses at AD introduced a new error scanning feature, but as always never told anyone because its not important right? ok looks like the problem solved...

3dsmax_r9KVgpBIVZ.png

0 Likes