Forum: Poser 11 / Poser Pro 11 OFFICIAL Technical


Subject: working with HDRIs, several questions

starlingblue opened this issue on Aug 28, 2020 ยท 11 posts


Miss B posted Fri, 28 August 2020 at 5:50 PM

structure posted at 6:47PM Fri, 28 August 2020 - #4397979

d) Save this script anywhere you like and run it to turn all lights off / on

# -*- coding: utf-8 -*- 

import poser

scene = poser.Scene()
for light in scene.Lights():
  light.SetLightOn(0) if light.LightOn() else light.SetLightOn(1)
scene.DrawAll()

Thanks from me too Structure. I dropped it into the ScriptsMenu Utility folder, where the deleteLights script resides, and it works perfectly. 🙂

_______________

OK . . . Where's my chocolate?

Butterfly Dezignz