Python script to auto adjust environment settings

Python script to auto adjust environment settings

dutchy4c
Contributor Contributor
273 Views
2 Replies
Message 1 of 3

Python script to auto adjust environment settings

dutchy4c
Contributor
Contributor

I’ve been trying to write a python script to auto adjust the environment settings but I keep on running into issues where VRED Python is not allowed access to environment settings to adjust, even though they’re clearly there and adjustable. Is there a block on these out does anyone know a work around?

 

 Thank you!

 

 Cor

0 Likes
274 Views
2 Replies
Replies (2)
Message 2 of 3

michael_nikelsky
Autodesk
Autodesk

There is no block, everything that is accessible via the vrdSphereEnvironmentMaterial or vrdSkylightMaterial should be adjustable. You should no try to use the old Fieldaccess directly, there are a lot of fields that are for internal use only or are not used at all.

What are you trying to adjust?



Michael Nikelsky
Sr. Principal Engineer
0 Likes
Message 3 of 3

dutchy4c
Contributor
Contributor

Thank you.

I want to put a color chart in a scene, with set color values, and then have a script run that would automatically set the right environment values to bring out the true colors.

0 Likes