The encryptFile and encryptScript functions serve a different purpose. The encryptFile function is not meant to create mse files, but to encrypt (data…
I haven’t used the at time… context yet with shapes, but it’s a known issue that shape operations do not support the undo on context. Not really an an…
There’s a callback mechanism available in maxscript which lets you add custom “Selection Filters” to the list in the main toolbar. Here’s a simple exa…
Create a variable and link it to $Box56.baseObject.ImageGrid.Colour. This should make the script controller dependent on the “Colour” controller, so i…
Afaik, the only option you have here is to suspend the job upon creation. UseAllServers = false only works when at least one server is specified with …
Since you haven’t assigned any servers to your job, 3dsmax will automatically use all servers. You can specify the servers in the Submit command, like…
( — The timeStamp() function gives time-of-day in milliseconds. — the following line stores the current timeStamp value in a variable. local t = ti…
That’s weird, my tests with undo off and redraw off didn’t speed things up at all.
That IS very strange… I tried it with undo off/redraw off contexts but like you said, having one or more objects in the scene speeds up the function d…
Check out the AVGuard MAXScript Extenstions by Larry Minton. It has a pasteBitmap function which is much faster than copying/pasting pixels manually t…
Here’s how I usually do this. The Store_Multi_Geometry_Result variable below is created in the initial scope, which makes it visible to all nested sco…
There are other ways, but the easiest is to make your dialog modal. This will halt any maxscript execution until the dialog has been closed.
Like james already said, it’s probably because the regular primitives are compiled as C++ plugins, which obviously evaluate much faster. 16 times slow…
Like John said this is probably a scope issue. You’ll need to make sure that the rollout which contains the function is declared before the containing…
I know I’m nitpicking here, but for completeness sake change this line: param1 type:#float default:0 to: param1 type:#float default:0 [b]ui:spParam…