pick_mode#

annotation.pick_mode() int#

Sets how 3D arrows are placed when using pick to do so.

3D arrows can be placed using picking while in annotation mode.
Args:
p0:

‘option’

  • origin_exact

  • origin_closestnode

  • origin_exactwithnormal

  • origin_closestwithnormal

Examples:
# WARNING: following line includes OBSOLETE call (ensight.annotation.pick_mode).
ensight.annotation.pick_mode("origin_closestnode")
ensight.arrow.select_begin(0)
ensight.arrow.location(2.009204e+000,1.154697e+000,2.000000e+000)
Returns:

zero on success, non-zero on error