Helpers and classOf() are your friends in this case. Helpers is a virtual array that contains every helper object in the scene. ClassOf will tell you …
If you want a script to execute every time a scene file is loaded you need to register the code as a #filePostOpen callback. The best thing to do woul…
getTransformLockFlags() returns a bit array. There’s no way you can use it directly as the clause in an if statement. What you could do is use the in…
Tito Fuentes wrote TFM?
classOf() will help you immensely in this. It returns the class of the currently selection object. Assuming you are limiting yourself to Dummy and Po…
There are a few ways you can determine if a directory was made or exists without requiring user intervention. MakeDir() returns true if the directory…
Dark_MOB: Hi, I’m trying to run any of these file without Max installed or running on my comp: “MaxScript MacroScript DLL or DLU files”. Is there an…
If you are getting “#(“a”)” out of your INI file then I’d say the problem is with how you are putting the data into your INI file instead of how to ge…
Use format() instead of print() and you won’t get the second echo’d response. local g = 3 –no need for a trailing semi-colon in MAXScript if g <…
You’re doing a few things incorrectly, which is why the script isn’t acting like you want it to. Mistake 1: data = #(“mytext”) You’ve created an ar…
There are two types of scripts you can create in Max. MAXScripts (.ms files) and Macroscripts (.mcr files). Both scripts share the same language and s…
String literals are well documented in the help file and work any place you use strings in MAXScript. Changing it in a future version would introduce …
Cthulhu: The VC++ editor is the only one i know that supports that. There’s a rich edit text control called “Scintilla” that allows for code roll…
Cthulhu: …the biggest problem in my opinion was that you could not compile/evaluate the script, which makes the use of external editors pretty much …