To get the difference between two normals, you could also use dot() Might be slower, but depending on your needs may be more appropriate
Seems to work ‘okay’ – ran into a problem and a crash, though, but I think they’re not 2009-specific. CycloneS: problem – if the scene file has not y…
could you detail a bit more what you mean by “my assign controller”? What are you doing in 3ds Max / MaxScript, and where are you seeing the “GLOBAL_…
It might be that it (light, renderer, etc.) simply doesn’t support animation of the on/off state of the light, much like 3ds Max doesn’t want you atte…
can’t access it in any meaningful way for what you’d need – you can ‘access’ the dialog, push buttons, check checkboxes, even change the server select…
indeed… though as Klaas pointed out… there’s no way to get that invoked whenever max scripts decides to do its garbage collection at random. Unless I…
if at all… how does the .NET garbage collector fit into this? dgc = dotnetclass “system.gc” dgc.collect() – from ‘dotNetMXSValue’ maxscript help t…
I can at least confirm the errors – no idea why they occur, though… I guess it’s trying to clean up the variables, even though it shouldn’t… seeing as…
Does it always die, or only on complex / large objects? Can always create a file and format all of the function parameters to that, include a new dep…
for most scripting you should only use .enabled ; set true just before you do things that will need it, set false as soon as you’re done with it. .in…
all UI elements should be available unless they’re using non-Win32 elements (a la WPF, Flash, that sort of thing) try downloading winspy++* ( ), dra…
well if, when you open the dialog, it’s got the same settings you used before – then presumably it saves its settings something and loads it from ther…
wouldn’t it be much easier to limit the user’s options my presenting your own file browse dialog (getOpenFilename), and then calling importFile on the…
Gotta love that MikeOwen: Finally, looking at the Microsoft URL you gave…, should this way of using a “case” function work for radiobuttons, …
almost idental, but by getting the state instead of setting it global useCache — will hold cache state global prefsDialog_hwnd = undefined global…