scale_factor#

vctarrow.scale_factor(p0: float) int#

Control the length of the vector arrows

If the arrow type is “Rectilinear” this parameter is a scaling multiple to change the magnitude of the vectors. If the type is “Rect_fixed” the parameter specifies the absolute magnitude for each vector. If the type is “Curved” this parameter controls the integration time for the streamlines which make up the curved part of the arrow.
Args:
p0:

‘scale/time’ scale factor or time

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

zero on success, non-zero on error