I tried to adjust a material using "setproperty" in maxscript, but it doesn't appear to trigger RT to refresh. Is there a way to force the correct callbacks that RT is expecting to re-assess the scene?
Announcement
Collapse
No announcement yet.
How to trigger RT refresh with maxscript
Collapse
X
-
How to trigger RT refresh with maxscript
Patrick Macdonald
Lighting TD : http://reformstudios.com Developer of "Mission Control", the spreadsheet editor for 3ds Max http://reformstudios.com/mission-control-for-3ds-max/
Tags: None
-
Hi Vlado,
Actually, my mistake, I was switching a light on and off using setproperty. It wasn't doing anything on my workstation at home, but I've tested it on another machine and it's working fine. Sometimes vrayRT appears to be asleep, but re-starting it seemed to get it picking up the changes fine.
I'm relieved to see my Mission Control script will work for tweaking lighting in RT... no more waiting for max to change selection when adjusting a collection of lights individually!
Sorry for the mixup.
Thanks
p.Patrick Macdonald
Lighting TD : http://reformstudios.com Developer of "Mission Control", the spreadsheet editor for 3ds Max http://reformstudios.com/mission-control-for-3ds-max/
Comment
Comment