Hi Atle, it is safe to say the least in global scope, the best. Anyway, before packing your functions into a Struct, you should consider that function…
Hi Tina, here is a code to collect faces in an Editable Poly object which have more than one smoothing group assigned. ( function intToBitArray i…
Hi Paolo, you can create an anonymous button then assign a tag to it on rollout open, or any other event you like, using the button.caption property. …
Hi Marcus, try this: camera.pos – ([0,50,0] * (camera.transform.rotationPart)) where [0,50,0] is the shift from camera (shouldn’t it be in Z? like […
Hi Pat, you cannot see the text in viewport because the method you’re using (gw.text) draws text in 3D space taking into account Z-Buffer, and it actu…
Lesson learnt Bobo, anyway the case you’re presenting is what we can call the “return inside the function”, and for sure it could require a C++ except…
Well, the “return” issue seems to be a false myth, at least in recent Max versions. I don’t have a clue about what was happening in older ones. It see…
Hi Paul, here is a small function that might be of help. It returns a transform matrix centerd in the three points average position, oriented with Z a…
I’m sorry you got it that way, like trying to mark your post, or acting cool. I was just adding a little bit of information. Enrico
3ds Max 9 with Extension 1 Productivity Booster installed has version number 9500. Enrico
Hi Jared, in your code there are a couple of issues. The first is you don’t need to disturb matrices to perform a normal shift, because you already go…
Hi Rorschach, as you stated thePainterInterface.endPaintSession() releases the painting 3ds Command Mode, but it doesn’t call the “systemEnd” function…
Hi Steve, I just edited previous code. It is a little improved version (avoids memory leaks, thanks to Denis Trofimov). Enrico
Hi Steve, here it is. Evaluate it and you’ll get a rollout with a button to select convex edges in Editable Poly objects. It works on face selections …
Hi guys, some time ago I collected all keywords form MaxScript 2009 Reference in a textfile to make a synthax highlighter for PSPad, the editor I stil…