light1_position#
- viewport.light1_position(p0: str) int #
Defines whether light source 1 is defined in the model coordinate system (absolute) or in reference to the viewer.
This command needs to be used in conjunction with the viewport: light1_azimuth <angle> and viewport: light1_elevation <angle> commands.- Args:
- p0:
‘option’
Absolute
Relative
- 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