Got most of this (if not all) from an older post on these forums, (I can’t remember who to credit this too though). Returns an array with the control…
Damn! I didn’t realize that return statements were so slow! (I also never checked either, so that would certainly be my own fault) I have a feeling …
Indeed, I can think of many times I would like maxscript to know this based on a number. I use this function in my scripts for the same effect. func…
-Edit:duplicate-
In the maxscript documentation look up “Controller Key Functions”. You are going to want to get the number of keys on the controller (total), make su…
How about this, don’t use maps at all. Control the diffuse color on your keys by vertex color. Have two maps: One for black keys, one for white. Pu…
InstanceMgr.GetInstances $ &instances_array where $ is your selected node, and instances_array contains all instances, if there are no instaces, …
This is one of those times where Maxscript Listener comes in handy. meditMaterials[<slot>].diffuseMap.coords.blur = <float> meditMat…
Try this. Might not be the most efficient, but it works. (Also added space for “in coordsys” ) mxv = maxVersion() obj = selection as array f…
maybe im the only one in the world who likes what he does so much that he would do it for free… To clarify a bit for Dmaxer if I may, He’s not saying …
Might help, might not: A similar tool I made to replace RPC spray at my work, when the mouse has been clicked, but not released, I made a tape dummy, …
Hey, instead of trying to get the vertex order correct, how about take each one that you do know, and make it a two point line. The end result will l…