Switch button as pushbutton?


is this even possible

is this interface possible…? i would need it for a script driven by a boolean.



Is this something that runs once after being switched on? Or something that runs continuously after being switched on?
If it is the first, you don’t need a switch - just a button.
If it is the latter, look at a smart button that toggles an IUpdater on and off.

@aaronrumple ,

i want to use it for temporary view …

connected with viewsettings like highlight planregions…

IUpdater ? do you have an example?



you can check this:

no IUpdater required IMHO

1 Like

@Jean-Marc ,


it is a smartbutton instead of a pushbutton.

I know, does it matter? and why?