How do I convert a maxScript color value ( [255,255,255] ) to System.Drawing.Color?
If the “script” is part of a custom attribute, then you can extract it. If it’s just a macroscript or script file being loaded from the harddrive whe…
Not every option is available in MaxScript. If you’ve looked for it and couldn’t find it, then you probably can’t set it through script. I’ve run in…
And here’s a function that will check for a valid folder: fn doesFolderExist f create:false = ( local val val = if (doesFileExist f) and (getfil…
Very nice. I just gave it a really quick try and didn’t find any problems. I now have a cute little Master Chief helper. A couple minor things th…
I don’t think there is an existing callback to do this. But you could theoretically set up a viewport callback or timer and check the .isHidden prope…
Wow, I didn’t even know that was there after all these years of Max use.
I haven’t put a lot of thought into this, but it seems to work. I’m using the MouseTrack() function to drive the time slider based on the horizontal …
I’ve found that one trick with trying to create a menu is that you have to delete it before you create it. For whatever reason, menus don’t update bu…
I would experiment with using Particle Flow to do this. And the easiest thing to do would be to start with the particles (each particle would be a pl…
I can’t tell you offhand why it’s not working as expected. But the idea of picking the end points manually seems unnecessary. You should be able to p…
The hacky way to do this without using the closeEnough function would be to do the comparison in a different space, as strings for example… for i in…
Maybe none of your boxes have that color in the diffuse. Just for debuging purposes, add a line to report what the code is doing outside of the if/do…