thresholds#

vctarrow.thresholds(p0: str) int#

Apply a threshold filter to the selection of vectors for display.

Threshold filtering occurs after density filtering. When using both forms of filtering in combination the actual vector density may not be exactly as specified.
Args:
p0:

‘type’

  • none

  • low

  • band

  • high

  • low_high

Examples:
ensight.vctarrow.begin()
ensight.vctarrow.variable("VITESSE")
ensight.vctarrow.end()
ensight.vctarrow.create()
ensight.part.select_begin(2)
ensight.part.modify_begin()
ensight.vctarrow.thresholds("band")
ensight.part.modify_end()
ensight.part.modify_begin()
ensight.vctarrow.threshold_low(5.0000e-1)
ensight.part.modify_end()
ensight.part.modify_begin()
ensight.vctarrow.threshold_high(7.5000e-1)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error