F1 = click on bottom of cube

Anonymous 9 years ago 0
This discussion was imported from CodePlex

bennasi wrote at 2012-12-03 11:45:


How can I make this:

If I press F1 I would like the same thing to happen (switch view) as it would do when clicking on the bottom of the view cube.



objo wrote at 2012-12-03 21:26:

I think it should be possible to add a KeyBinding to the CameraController.BottomViewCommand!

But why F1? That's for help!

bennasi wrote at 2012-12-04 11:05:

Want to use the keybindings as they are in another software package (ANSA).
so I want to change the function keys to default camera positions. 

I cannot find the helixviewport.cameracontroller.bottomviewcommand.
Could you give me some sample code please.