KeyShot Forum

Technical discussions => Extending KeyShot => Scripting => Topic started by: katakiari on January 17, 2019, 03:37:33 AM

Title: Set Active Environment?
Post by: katakiari 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().