The formal definition of the function is:
void CSIM_NavigateView( char *cmd, char *par )The options are:
cmd par --- --- ZoomIn 0 ZoomOut 0 ZoomToFit 0 OpenGraph <object_name> CloseGraph 0 Flatten <object_name> PanRight 0 PanLeft 0 PanUp 0 PanDown 0 NO_SCREEN_REFRESH 0 REFRESH_SCREEN 0Most of the options above are fairly self-explanatory, except perhaps the last two, which require some further introduction.
After each CSIM_NavigateView command, the screen refreshes. This is fine, if you perform only one navigation operation. However, if you issue several navigation commands in rapid succession, the screen will blink each time. To batch-up several navigation commands for a single refresh, you can disable refreash prior to navigating, and then re-enable it after the last navigation command.
For example:
CSIM_NavigateView("NO_SCREEN_REFRESH",0); CSIM_NavigateView("ZoomIn",0); CSIM_NavigateView("ZoomOut",0); CSIM_NavigateView("ZoomToFit",0); CSIM_NavigateView("OpenGraph","/new"); CSIM_NavigateView("CloseGraph",0); CSIM_NavigateView("Flatten","/new"); CSIM_NavigateView("PanRight",0); CSIM_NavigateView("PanLeft",0); CSIM_NavigateView("PanUp",0); CSIM_NavigateView("PanDown",0); CSIM_NavigateView("REFRESH_SCREEN",0);A complete example can be obtained from Navigate_Example.sim. Run this example by hitting the step button, to sequence through the views.