ribbon_width#

ptrace.ribbon_width(p0: float) int#

Sets the width for ribbon or square tube particle trace representations.

This attribute has no effect when using the “line” trace representation.
Args:
p0:

‘width’ the width of the ribbon or square tube

Examples:
#
# Selecting the trace(s)
#
ensight.part.select_begin(7,8)
#
# Modifying attributes for the two selected trace parts
# (ribbon_width is modified in here)
#
ensight.part.modify_begin()
ensight.ptrace.representation("square_tubes")
ensight.ptrace.ribbon_width(2.0000e+00)
#
# Updates the traces with the modified attributes
#
ensight.part.modify_end()
Returns:

zero on success, non-zero on error