api.setBackground completed event

Hello,

I can’t catch environnement load completed…

I tried:

api.setBackground({enable: 'environment'}, function () {console.log("background changed");});

But console logs it on click not when viewer is updated few seconds later.

I want to automate a screenshot command with different environnements =)

Thanks for helping guys =)

Bests,

Pierre-Yves

Hi,

Thanks for the report, indeed we don’t send any event for that case.
We’ll look into adding it for next release.

1 Like