Turn off map in map channel

Turn off map in map channel

Anonymous
Not applicable
564 Views
3 Replies
Message 1 of 4

Turn off map in map channel

Anonymous
Not applicable
hi all,

I'm trying to write a little script to process imported SketchUp scenes and want to disable, but not delete, the texture map in the diffuse map channels for all the materials. I've looked through the help files but have not been able to find how to access that check box in the maps rollout.

Any help would be much appreciated!

thanks,

Sue
0 Likes
565 Views
3 Replies
Replies (3)
Message 2 of 4

Steve_Curley
Mentor
Mentor
Assuming Standard Materials, then:-
$.material.diffuseMapEnable = false

should do the trick. For an MR Arch&Design Material then
$.material.diff_Color_Map_On = false

Max 2016 (SP1/EXT1)
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 430.86).

0 Likes
Message 3 of 4

Anonymous
Not applicable
Thanks Steve!

I knew it had to be something simple- just couldn't figure out where to look for it
0 Likes
Message 4 of 4

Steve_Curley
Mentor
Mentor
ShowProperties (and similar functions) are your friend(s) when looking for things like that.
showProperties $.material
lists all the proerties of the material on the selected object. Just look down the list until you see something appropriate.

Max 2016 (SP1/EXT1)
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 430.86).

0 Likes