Author Topic: [Python] make a layer visible by script  (Read 200 times)

first let me thank you that you've added python support as scripting. It's really great, also the really cool thing is that you have support for Pyside2 on it, this opens up a lot of possibilities...
Now my question:
I was able to toggle a layer visibility button using the PySide2 but nothing happens in the viewport. I'm thinking that I need to trigger some signal... I see that the "wrappedWidget_enabledButton" has a signal: triggered(QAction*) that's asking for a QSignal, but I really don't know how to trigger it. Is this something that you can share with us?