multiple_segments_by#

query_ent_var.multiple_segments_by(p0: str) int#

Treat multiple line segments of a distance query as multiple queries, (i.e., reset the distance to 0. for each segment) or as a continuous line.

This command must lie between either a “query_ent_var: begin” and “query_ent_var: end” pair, or a “query_ent_var: modify_begin” and “query_ent_var: modify_end” pair.
Only applicable with the “query_ent_var: type distance” command.
Args:
p0:

‘option’

  • accumulation

  • reset_each

Examples:
ensight.query_ent_var.modify_begin()
# WARNING: following line includes OBSOLETE call (ensight.query_ent_var.type).
ensight.query_ent_var.type("distance")
ensight.query_ent_var.constrain("1d_part")
ensight.query_ent_var.multiple_segments_by("reset_each")
ensight.query_ent_var.modify_end()
Returns:

zero on success, non-zero on error