initialize_viewports#
- view_transf.initialize_viewports() int #
Resets transformations, look_at viewing parameters, and z clipping to the original values applied when model was first displayed.
Since transformations can be different per viewport, this can be applied to each viewport. Thus, a viewport selection is needed if more than one viewport is being used.- Examples:
# # Selecting two viewports # ensight.viewport.select_begin(1,3) # # Reinitializing these 2 viewports # ensight.view_transf.initialize_viewports()
- Returns:
zero on success, non-zero on error