My first Houdini Python Script. This script toggles Camera from PERSP view to SIDE view and back ( depends of camera vector ). You just need to make a Python shelf. Create new Python Tool and link my script.
Something like:

 
import view3d_toggle_views
view3d_toggle_views.toggleViews()

Download : Toggle Views