origin_x#

viewport.origin_x(p0: float) int#

Specify the normalized x/y-coordinate value of the origin for the selected viewport(s).

Args:
p0:

‘coord’ lower left/bottom of viewport with range I[0.,1.]

Examples:
ensight.viewport.select_begin(0)
ensight.viewport.origin_x(3.3333e-01)
ensight.viewport.origin_y(0.0000e+00)
ensight.viewport.width(5.1712e-01)
ensight.viewport.height(1.0000e+00)
ensight.viewport.select_begin(1,2)
ensight.viewport.origin_x(1.0000e-01)
Returns:

zero on success, non-zero on error