Forum: Poser Python Scripting


Subject: Detect if a Poser UI panel is closed, and open it

HartyBart opened this issue on Nov 07, 2022 ยท 9 posts


HartyBart posted Mon, 07 November 2022 at 3:30 PM

Thanks, both. Further tests show a problem. Works 'as described' for PythonPalette, for which it was originally intended. Also for AnimationPalette.

But does not work with the AnimationControls panel. I suspect that what fooled me into thinking it did, for a moment, was that the script defaults to the poser.ProcessCommand - and that does work. But only by toggling Animation Controls panel on/off un-intelligently. Which was my opening problem in this thread.

I suspect the script cannot find AnimationControls because there is no such panel label. It must be one of the panels without a given PaletteById 'Palette Code', which appears to be required. The available Palette Codes are listed in the Poser manual, and there are only a few.

This missing panel label (if there is one) is not an undocumented variant either, as I tried various:

AnimationControls

AnimationControl

Animation Control

Animation_Controls

AnimationControlsPalette

etc



Learn the Secrets of Poser 11 and Line-art Filters.