density#

vctarrow.density(p0: float) int#

Control the fraction of the parent’s nodes which will display a vector.

A value of 0.0 results in no arrows, while a value of 1.0 results in an arrow at every node. Between these two values the arrows are randomly distributed at the specified density.
Args:
p0:

‘value’ density value between 0 and 1

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.density(5.0000e-01)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error