Forum: Poser Python Scripting


Subject: Getting/Setting Intensity for a light?

OberonRex opened this issue on Nov 13, 2023 ยท 5 posts


OberonRex posted Mon, 13 November 2023 at 11:50 AM

I can write Python code to loop over the lights and tell if they're on or off. I can set them on or off. And I've just failed miserably at finding how to get and set the intensity. Sure looks like "Intensity" is the magic word, but I'm missing something.

For an individual light, I can access light.LightType, LightOn, SetLightOn, SetLightOff, but, sigh, I cannot find how to get/set intensity.

Has to be simple but I can't figure it out.

So -- what's the secret, eh?