maxscript

How do I change the FOV of the 3dsmax perspective window programattically through Maxscript?

I need to access the FOV property of the Perspective viewport. This is not the same as the FOV property associated with target and free cameras. To access the FOV property non-programatically, right click on the viewport name (top left of each viewport), go to configure and under "perspective user view" you can change the FOV. ...

Is there a way to return a dotNetObject value from a custom 3ds Max plugin?

I have a custom plugin for 3ds Max that interfaces with some managed code on the back end. In some circumstances, I'd like to forward along a managed object to MAXScript for direct interaction, i.e. return a wrapped object from one of my functions. MAXScript is able to manipulate managed objects directly relatively well through another ...

How do I extend a 3Ds Max material correctly

...

parsing git output

I'd like to integrate git into production pipeline to stage 3dsmax files. While it is alright to work with git through TortoiseGit, I'd like to communicate with it from the Maxscript to add custom menu commands to 3dsmax. Should I parse git status output text to determine folder status or should I use some wrapping tool to correctly com...

MaxScript Export Vertices over Time

Hey, I have a skinned mesh that animates over time. I'm writing a quick export script to export out my verticies. How do I output the vertices per frame? I'm getting the verticies using getVert, but how do I specify which frame to get the vertex from? Thanks ASH ...

known memory leaks in 3ds max?

I've set up a script in 3ds max to render a bunch of animations into frames. To do this, I open up a file with all of the materials, load an animation (as a bip) onto the figure, then render. We were seeing a problem where eventually the script would fail because it was unable to open the next file-- max had consumed all of the system m...

How to programatically assign random colors to objects in 3ds max?

How to programatically assign random colors to objects in 3ds max? ...

Does -mxs command line switch always close 3DSMax?

I’d like to run a very simple script command through the command line, and the -mxs switch appears to do exactly that. However, everytime I use it 3DSMax 2011 automatically shuts down afterwards. Whether I use the quitMax call or not. Is there anyway to get around this? ...

How can I save single renders incrementally with max script

While I am modeling I like to render a frame to show the progress as I am going along. I would like to program the renderer to save the render as a render output and add an incremental number to the end of it. So I would have a number of renders at the end just like a render sequence for an animation but with the frames I decide to make....