light1_elevation#

viewport.light1_elevation(p0: float) int#

Defines the elevation angle of light source 1.

This command needs to be used in conjunction with the viewport: light1_azimuth <angle> and viewport: light1_position <option> commands.
Args:
p0:

‘angle’ elevation angle for light source 1

Examples:
ensight.viewport.select_begin(3)
ensight.viewport.light1_position("Relative")
ensight.viewport.light1_azimuth(-9.702e+01)
ensight.viewport.light1_elevation(3.750e+01)
ensight.viewport.light_converttoabs()
Returns:

zero on success, non-zero on error