Dave_Black
@dave_black
New Member
Joined: Feb 14, 2024
Topics: 9 / Replies: 67
Reply
RE: radiobuttons change following rooloutsettigns?

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…

17 years ago
Forum
Reply
RE: Maxscript Problem

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

17 years ago
Forum
Reply
RE: How can create toolbars Panel use maxscript?

–>ROLLOUT: ———————————————————— rollout RO_Test “” width:160 height:56 ( button btn_1 “Press Me” pos:[8,8…

17 years ago
Forum
Reply
RE: How can create toolbars Panel use maxscript?

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…

17 years ago
Forum
Reply
RE: exporting a multisub material with each sub material and maps used???

Try this: fn PrintChannelFileNames multiSubMaterial = ( if(classOf multiSubMaterial == Multimaterial) then ( for m in 1 to multiSubMaterial.mate…

17 years ago
Forum
Reply
RE: Accessing the Falloff – Shadow / Light bitmap

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, …

17 years ago
Forum
Reply
RE: Set Bitmap = undefined

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…

17 years ago
Forum
Reply
RE: Set Bitmap = undefined

bitmap.filename = “” example: meditMaterials[1].diffuseMap.fileName = “” -Dave

17 years ago
Forum
Reply
RE: Exiting Isolation Mode

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…

17 years ago
Forum
Reply
RE: list of objects

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…

17 years ago
Forum
Reply
RE: movekey defusemapamount.controller = undefined??

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 …

17 years ago
Forum
Reply
RE: movekey defusemapamount.controller = undefined??

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…

17 years ago
Forum
Reply
RE: movekey defusemapamount.controller = undefined??

But the DiffuseMapAmount is’nt animateable… Perhaps you could show more of your code. -Dave

17 years ago
Forum
Reply
RE: movekey defusemapamount.controller = undefined??

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…

17 years ago
Forum
Reply
RE: CustomAttributes Virtual Array Questions:

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…

17 years ago
Forum
Page 3 / 6