default_orientation#

view.default_orientation(p0: str) int#

Sets the default view orientation.

Must be executed before data is read.
The default is +z
Args:
p0:

‘direction’

  • +x

  • -x

  • +y

  • -y

  • +z

  • -z

Examples:
ensight.view.default_orientation("+x")
Returns:

zero on success, non-zero on error