abyjoe: if i try to put the scenematerial variable for the checkbox values, it gives me an error. The checkbox captions hold strings, not materia…
Are you running files with the extension .ms or .mcr? If it’s a .mcr, there will be no result as the code is just getting checked into memory. -Dave
–>ROLLOUT: ———————————————————— rollout RO_Test “” width:160 height:56 ( button btn_1 “Press Me” pos:[8,8…
That’s not entirely true. You can make something similar to a toolbar VIA maxscript using the cui.RegisterDialogBar method. You can even dock them. Ha…
Try this: fn PrintChannelFileNames multiSubMaterial = ( if(classOf multiSubMaterial == Multimaterial) then ( for m in 1 to multiSubMaterial.mate…
If your model has uvws setup, you could do a render to texture and just choose lighting. If you’re trying to get the lighting solution in the scene, …
When things like this pop up, I use some standard methods to recreate the map. You could do something like this using: getPropNames getProperty For…
bitmap.filename = “” example: meditMaterials[1].diffuseMap.fileName = “” -Dave
Hey. With little tools like this, AutoDesk/Discreet sometimes uses maxscript. This is the case with the isolate selection tool. If you go into your cu…
You can do it without maxscript too. Just go to File->Summary Info–>Save to File. Or a simple script would be: ns = newScript() for i in obj…
Well, you’re right about that. I’m getting that issue too. One thing that I did notice is that all that needs to happen is for the material to be in …
Not sure why, but I checked to see what happens when it works. meditMaterials[1][#Maps].Diffuse_Color_Amount.controller That should help. Looks like…
But the DiffuseMapAmount is’nt animateable… Perhaps you could show more of your code. -Dave
Heres your problem: planesArray[i].material.controller materials don’t have controllers. If you want to access the diffuse map amount you need to ge…
Well, it seems I’ve found the answer. Say we just added a custAttribute to an box using the custAttributes.add function. If we type $.custAttributes…