Author Topic: Set Active Environment?  (Read 1130 times)

0 Members and 1 Guest are viewing this topic.

Offline katakiari

Set Active Environment?
« on: January 17, 2019, 03:37:33 am »
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().