I’ve run into the problems also with pastebitmap (when trying to make a script more compatible with other versions of max.) The documentation does le…
setTransformLockFlags $ #all This turns on all the locks under Link Info (found on the Hierarchy panel). Hopefully that is what you needed. You can…
denisT: trim_objName is a variable’s name, the value of the trim_objName is a string to make your idea work: similarNodes = (execute (“$'” +…
I’m not saying this is the absolute best it can be, but doesn’t loop as much (if anyone else has a suggestion) similarNodes = $trim_objName* as arra…
check out this thread and the script Bobo wrote: It is generating tea pots on the surface of this object, but you could modify it to constrain your …
EDIT: sorry was typing this while j-man posted. I don’t mean to be redundant. Second method is the proper format. If you want multiple conditions yo…
Adding more comments for you to clarify: –COMMENT: This sets a variable “currMat” based on the current material editor slot. currMat = medit.g…
The sample is using a multi-sub material, and works on the currently selected material slot. Here is something a bit more versatile: currMat = medit…
We had this question over at I have a little script that I usually keep open for just such a thing, but this is for the current material editor se…
dirName = @”C:\YOUR\PATH\HERE” dirFiles = getFiles (dirName+”\\*.max”) for f in dirFiles do ( loadMaxFile f fileIn @”C:\YOUR\MAXSCRIPT….
EDIT: The opposite was DOES work: “tm2*(inverse tm1)”, which seems backward from the explanation. Oh well, it works now thanks Denis. hmmm… this…
@stefan: this is a manipulator gizmo so I cannot directly set the transform (with = ). I only have a function mygizmo.transform (matrix3) which trans…
no problem. Best of luck on your script!