Hi guys, A couple of general maxscript questions from a novice programmer for anyone that could clarify: 1. Are there standard ways to set up your script to read functions/methods from another file. For example, I have my main and I want to call functions from another file, ie class file, that I have set up. Is it as…
This is a valid function, but Autodesk added doesFileExist function a few versions ago. You're script is an excellent example. I've never used file encryption.
You guys are awesome. This is very helpful. @mantragora - checking your video to get more clarification on your post. Thanks for your feedback! @Mark - Thank you. Sometimes I think the most difficult part is trying to find the correct terminology to search for. I'll go through the help docs and check out includes. As for…
For the encrypting (Q 2) I simply open the maxscript Listener (bottem left the pink/white bars -> right click -> open listener) drag the bar down so you can see the pink and enter the following: scriptfile="C:\\testDir\\testfile.ms"encryptScript scriptfile replace "C: \\testDir\\testfile.ms" with the file path. For the…
Maxscript is kind of weird, it takes whole scripts and includes them, it doesn't reach out and grab specific functions. So you either break up each function to its own script or stuff them all in one and call/include it all, even if you only need to use one function. This also makes debugging a bit problematic because if…