reset_rot_trn_scl#

view_transf.reset_rot_trn_scl() int#

Removes the rotation, translation, and scale transformations in the selected viewports.

Since transformations can be different per viewport, this command can be used for each viewport, thus a viewport selection is needed if more than one viewport is being used.
In Frame mode initializes the selected frames.
Examples:
# 
# Select the viewport(s) desired 
# 
ensight.viewport.select_begin(0,2)
# 
# perform some rotations, translations and/or scales 
# 
ensight.view_transf.rotate(15.535719,-27.859741,0.000000)
ensight.view_transf.translate(0.620558,0.000000,0.000000)
ensight.view_transf.scale(1.2000e+00,1.2000e+00,1.2000e+00)
# 
# Now remove these transformations using this command 
# 
ensight.view_transf.reset_rot_trn_scl()
Returns:

zero on success, non-zero on error