focomoso
@focomoso
New Member
Joined: Feb 14, 2024
Topics: 7 / Replies: 137
Reply
RE: max script help

you mean something like this: fn checkMat mat state = ( if classof mat == blend then mat.maskEnabled = state for i = 1 to getNumSubMtls mat do …

17 years ago
Forum
Reply
RE: Camera Background Plane (Maya Style)

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…

17 years ago
Forum
Reply
RE: Weld vertices in multiple splines at once

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…

17 years ago
Forum
Reply
RE: select a to b ?

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…

17 years ago
Forum
Reply
RE: Select Maximum Height?

That’s exactly what I was saying. Although I have to say, focomoso approach is rather cool Thanks, I thought so myself:)

17 years ago
Forum
Reply
RE: Select Maximum Height?

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

17 years ago
Forum
Reply
RE: 'Create' button for primitives ?

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 …

17 years ago
Forum
Reply
RE: 'Create' button for primitives ?

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…

17 years ago
Forum
Reply
RE: 'Create' button for primitives ?

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…

17 years ago
Forum
Reply
RE: c++

wamo: i’m really going to make plugins for max and i thought that maxscript isn’t enough to stand mass and phisyic issues,so am i right? If you h…

17 years ago
Forum
Reply
RE: Python + MXS

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…

17 years ago
Forum
Reply
RE: Python + MXS

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…

17 years ago
Forum
Reply
RE: [BETA] Scripted SimpleObject: COLUMNS

Nice work, now all you need is a Doric/Ionic/Corinthian radio button…

17 years ago
Forum
Reply
17 years ago
Forum
Reply
RE: MAXScript Speed

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…

17 years ago
Forum
Page 4 / 10