ScriptToButton icon indicating copy to clipboard operation
ScriptToButton copied to clipboard

Custom Property

Open Gamerage opened this issue 1 year ago • 1 comments

Hi,

I was trying to add a driver to the panel button thinking I could make the button actionable via a custom property, like an on off switch but the script doesn't get executed - Is this currently not possible with Script to Button?

Would be a great feature tho..

Gamerage avatar Aug 06 '24 15:08 Gamerage

Yes, unfortunately this does not work. I tested it in Blender 4.1.0, and it didn't work, but when testing with Blender 4.0.0 it seems to work in some occasion. This is a feature that I will implement, as it seems technical possible to do so.

Unfortunately, I am not able to implement it this month. I will implement this feature along with some bug fixes next month.

Thank you for reporting.

RivinHD avatar Aug 10 '24 12:08 RivinHD

Driver support was added in Version 2.3.0. Unfortunately, executing a script when properties get changed does not work.

RivinHD avatar Mar 03 '25 13:03 RivinHD