zoom_to_selectregion#

view_transf.zoom_to_selectregion() int#

Perform the zoom according to the current location of the selection tool.

Examples:
ensight.tools.select_tool("ON")
ensight.view_transf.function("global")
ensight.view_transf.select_tool(.25,.25,.75,.75)
ensight.view_transf.zoom_to_selectregion()
ensight.view_transf.undo()
ensight.view_transf.redo()
Returns:

zero on success, non-zero on error