pts_on_line#

clip.pts_on_line(*args, **kwargs) Any#

Set the number of sample points for a line clip.

Args:
p0:

‘line_pts’ number of linearly spaced sample points for the line clip

Examples:
#
# Select an existing line clip
# and set the number of
# sample points to 20
#
ensight.part.select_begin(3)
ensight.part.modify_begin()
ensight.clip.pts_on_line(20)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error