zoom


Get and Set the value of the current zoom level

To get the current value of the scene zoom use: >>echo gl.GetZoom() To set current zoom to a certain value use: >>gl.zoom(math.eval(Value-gl.GetZoom())) This can be used to put different structures on the same scale. Note that a value of 1 corresponds to the scale where the smallest dimension of the screen view is 1 Angstrom. To reset zoom to the default value for the current model use: >>gl.zoom