Technical discussions > Scripting

Set Active Environment?

(1/1)

katakiari:
Hi, I'm new to KeyShot and I'm stuck on this script.

So I have 3 custom environments made in HDRI editor, let's say "e1", "e2", "e3" are under the Environment tab.
My current active environment is "e1". Is there a way to set the active environment to "e3" programmatically?
I've read the documentation and can only see function getActiveEnvironment() but not a corresponding setActiveEnvironment().
 

Navigation

[0] Message Index

Go to full version