you mean something like this: fn checkMat mat state = ( if classof mat == blend then mat.maskEnabled = state for i = 1 to getNumSubMtls mat do …
Just looking at the code (no testing) two things come to mind: Replace: $.name = “camera_with_bg” bgcam = $camera_with_bg with: bgcam = $ That sh…
Look at the code. You want to cycle through the selection set. Then the first thing you say is: select s. So now you’ve replaced the selection set wit…
Ah…, but if you created the boxes in this same script, you shouldn’t be using the $’’ notation to get your ‘theObjects’ array. You should put the boxe…
That’s exactly what I was saying. Although I have to say, focomoso approach is rather cool Thanks, I thought so myself:)
amax (for b in $Box* collect b.height) – but it would be faster to keep track of the tallest one while you create the boxes
In object oriented programming, ‘this’ – in some languages, ‘self’ – refers to the object that the code is in. And by object, I don’t mean like a max …
Caprier: Hi Fernando. Thanks again for the help. James, just a precision. In the code just before your post, where the “setMesh mesh vertices:vArr f…
The mesh needs do be set inside your buildIt function or else all that work you’ve done just disappears when the fn ends. So you need to put: setMesh…
We’re porting a tool to help with lip syncing from maxScript to python. Our own version of papagayo that sits just below the time line, if anyone’s fa…
erilaz: It probably sounds sad, but I just got the first post example running and I felt a little thrill of excitement. I’m going to buy you a round…
Nice work, now all you need is a Doric/Ionic/Corinthian radio button…
Nice…
Print out sceneMaterials.count. Looks like you’re creating 1000 new materials every time you run the script and they’re probably still in the scene. Y…