Hmm I was using Viewport.getViewportDIB() which does capture the windows on top (Max2014 Nitrous DX11), but gw.getViewportDIB() doesn’t… Cheers! That…
And yes Denis I didn’t really want to expand the Scene Materials into itself, only into a temporary library so Jorge’s solution works great!
Thanks Jorge, sorry for delayed response I finally got around to actually using this! Found a bug in your code where material[i] would retrieve suban…
There are also built-in macros for next and previous modifier in max. Go to customise user interface and look for ‘Next Modifier’ and ‘Previous Modifi…
Have a look at my blog below…
Example below, if you want to put numbers in you need to convert them to string values. format “%, is the way to %, set this % ” “This” “That” (5 a…
Great stuff Jorge, that’s what I was trying to do! Can I steal that to put on my blog? I’ve been trying to cover every maxscript error message and …
Sounds like you’re having scope issues. It’s easy to do when you’re writing scripts, testing things to declare functions in the global scope space an…
You need to get a list of objects for it to work. Xrefobjs = getMAXFileObjectNames “whatever.max” xrefs.addnewXrefObject “whatever.max” Xrefobjs
That space is reserved for when you select the type of object you want to create, if you click on Box for example you’ll get all the creation paramete…
Out parameters make a lot more sense when you use them in a function that has multiple out parameters. There are a few inbuilt max functions which hav…