Hi,
i'm having trouble using the vrayColor map through maxscript. I can add a vrayColor map to i.e. the diffusemap of a material. I can't alter the parameters of this vrayColor map. I get an error and max actually crashes. when i open up the material editor and have the vrayColor map rollout opened, scripting works fine. Can anyone help me with this one, or confirm the error i get?
All is well up untill now. Try this next line first with the material editor and vrayColor map rollout opened. That should work just fine. Then close the material editor and do it again. When i try that, max crashes
This also happens with the .gamma_correction and .gamma_value properties. I haven't tested the other properties yet. My crash shows **system exception** in the listener window.
We're using 1.5 RC4 together with max 9 (script tested on 32 bit machines)
Maybe i'm doing it wrong, i hope so.
Klaas
i'm having trouble using the vrayColor map through maxscript. I can add a vrayColor map to i.e. the diffusemap of a material. I can't alter the parameters of this vrayColor map. I get an error and max actually crashes. when i open up the material editor and have the vrayColor map rollout opened, scripting works fine. Can anyone help me with this one, or confirm the error i get?
Code:
obj = teapot() vc = vrayColor() obj.material = standard() obj.material.diffusemap = vc
Code:
vc.color = white
We're using 1.5 RC4 together with max 9 (script tested on 32 bit machines)
Maybe i'm doing it wrong, i hope so.
Klaas
Comment