This topic lists all the commands blocked in embedded scripts by the Safe Scene Script Execution feature.
When the Block MAXScript system commands option is selected under Safe Scene Execution on the Preference Settings dialog, the following MAXScript commands are prevented from executing when they are in embedded scripts:
Display of a rollout that contains ActiveX or dotNet controls is blocked if its definition is in a scene embedded script.
The macroscript definition keyword is blocked.
These file methods are blocked in all cases:
These internal only systemTools functions are blocked:
Strings evaluated from getUserPropVal() are considered embedded scripts, and are blocked if they contain blocked commands. This happens regardless of whether getUserPropVal() itself is in an embedded script.
These file methods are blocked from modifying protected files and files with protected extensions:
The protected extensions are: .bashrc, .bat, .bin, .bmf, .bmi, .bms, .cmd, .com, .cpl, .dla, .dlb, .dlc, .dle, .dlf, .dlh, .dli, .dlk, .dll, .dlm, .dln, .dlo, .dlr, .dls, .dlt, .dlu, .dlv, .dlx, .dly, .dlz, .exe, .flt, .gadget, .gup, .inf1, .ins, .inx, .isu, .job, .jse, .lnk, .mcr, .ms, .msc, .mse, .msi, .msp, .mst, .mxs, .mzp, .paf, .pif, .ps1, .py, .pyc, .pyd, .pyo, .pyw, .reg, .res, .rgs, .scr, .sct, .shb, .shs, .u3p, .vb, .vb3, .vbs, .vbscript, .ws, .wsf, .wsh.
Special case file methods:
When Block MAXScript system commands is enabled, any command that can write to the filesystem is blocked from accessing these locations from which 3ds Max loads plugins and scripts:
When the Block Python scripts option is selected under Safe Scene Execution on the Preference Settings dialog, all Python commands called from embedded scene scripts are blocked.
When the Block 3rd Party .NET code option is selected under Safe Scene Execution on the Preferences Settings dialog, all .NET framework classes, including .NET controls, are blocked when run from embedded scene scripts, except those that are shipped with 3ds Max plug-ins or used by 3ds Max.
In addition, the MAXScript command dotNet.loadAssembly() is blocked.
This is the list of allowed (whitelisted) .NET types, everything else is blocked: