pick_mode#

view.pick_mode(p0: str) int#

Sets what type of pick will be performed when the ‘p’ key is pressed.

See the EnSight User’s Manual for instructions on how to operate each of these picks.
Args:
p0:

‘value’

  • center_of_transform

  • cursor

  • line

  • look_at

  • part

  • plane

  • plane_2pt

  • plane_normal

  • plane_origin

  • elements_to_blank

  • plane_by_3nodeids

  • line_by_2nodeids

  • line_by_surface+normal

  • color_palette_band

  • spline_point

  • camera_origin_xyz

  • camera_origin_node

  • camera_direction_xyz

  • camera_direction_node

  • frame_origin

Examples:
ensight.view.pick_mode("part")
ensight.view.pick_mode("cursor")
ensight.view_transf.cursor(-9.941673,-39.746929,3.714395)
Returns:

zero on success, non-zero on error