Maybe I’m getting this wrong again, but I get you want to add a callback when another callback event occurs. If that’s the case, you can use a functio…
Hi, if I understand well, you want to call more than one function in your callback event. That can be done by creating a string with function calls se…
Hi Eric, you can get polys area and make a selection filtered by a threshold set, but since you got planes of different size, it doesn’t seem to work …
Hi Joe, I understand you need to adjust current number of animation frames. Take a look at “Time Configuration Dialog” in MaxScript Reference: — Exa…
Hi Garry, following code cycles through every light in the scene and collects in an array all TargetSpots and FreeSpots. ( aSpotlights = for item…
Hi Garry, The equivalence test is ==, while = is assignment. The two things that come to mind are about selection and actual object color. Unless yo…
Hi James, does the script throw any error after first evaluation? Without any evidence, here is my very very long shot. There could be variables/struc…
Hi Nicholas, use “displaySafeFrames”, it “Lets you get and set whether Show Safe Frames is on for the active viewport. A Boolean value – true if Show …
Alright got the bug, but not the cause: if a single click is performed, case 2 in mouseMove is completely skipped, while on my machine is executed onc…
Well, thank you Dave for the tests, but unfortunately I still don’t have a clue. I’ll try it on another system as soon as I have a chance. Enrico
Hi Dave, could you please try this script version? I changed the #stop test, but it’s a shot in the dark, cause I cannot reproduce the error on Max 9 …
Hey Dave, it’s strange you got that error on a single click. I put the ‘if (thePlane.width == 0)’ clause to stop the tool without issues. Can you plea…
Hi Ryan and welcome, I played around a bit with your script, it now should work more like you wanted. With a little effort you can convert all grid co…
Hi Chris, a similar problem has been reported with meshOp.SetMapVert, in this thread. I suggested a workaroud which could work for Editable Polys too:…
Hi Alberto, following code applies the rotation relative to selection center in currently active grid, which means it works as expected in each viewpo…