projection#

vctarrow.projection(p0: str) int#

Apply a projection to the vectors prior to display

Vector components are scaled prior to computing the projections.
Args:
p0:

‘proj’

  • all

  • normal

  • tangential

  • component

Examples:
ensight.variables.activate("velocity")
ensight.vctarrow.begin()
ensight.vctarrow.variable("velocity")
ensight.vctarrow.end()
ensight.vctarrow.create()
ensight.part.select_begin(4)
ensight.part.modify_begin()
ensight.vctarrow.projection("component")
ensight.part.modify_end()
Returns:

zero on success, non-zero on error