node_size_by#

part.node_size_by(p0: str) int#

Selects the source for calculating node size in the currently selected part(s).

Args:
p0:

‘source_type’

  • Can have any of the following values:

  • constant

  • scalar

  • vector_mag

  • vector_xcomp

  • vector_ycomp

  • vector_zcomp

Examples:
ensight.part.select_begin(1)
ensight.part.modify_begin()
ensight.part.node_type("sphere")
ensight.part.node_size_by("vector_mag")
ensight.part.node_variable("velocity")
ensight.part.modify_end()
Returns:

zero on success, non-zero on error