Any way to toggle "Handle script/plugin events on/off" button via script?

Nikolayan

New member
I'm making a script that makes editing the 2D ribbon plugin more user-friendly.
I want to include a simple toggle that will enable or disable both the "Interactive mode" and the "Handle script/plugin events on/off" button on the side of the viewport. I'm having trouble with the latter - is it possible to toggle it via a script? Maybe there is a viz engine function I could use?
I'm on Viz Artist 5.5
 
Last edited:
I'm making a script that makes editing the 2D ribbon plugin more user-friendly.
I want to include a simple toggle that will enable or disable both the "Interactive mode" and the "Handle script/plugin events on/off" button on the side of the viewport. I'm having trouble with the latter - is it possible to toggle it via a script? Maybe there is a viz engine function I could use?
I'm on Viz Artist 5.5
did you try send command? - EDITOR*3*HANDLE_EVENTS SET 1
 
did you try send command? - EDITOR*3*HANDLE_EVENTS SET 1
This is exactly what I was looking for, thank you so much!
A minor issue - toggling it this way doesn't update the GUI button to show that it's on - is there any way to refresh the GUI to sync them?
SendGuiRefresh() doesn't seem to work, since it only refreshes the script's own GUI I guess?
 
Last edited:
Back
Top