part_id#

query_ent_var.part_id(args: Any) int#

Specify the 1D part number to query when performing a query over distance with a part constraint.

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.
Args:
p0:

‘part_id_#’ GUI number of the part

Examples:
ensight.part.select_begin(4)
ensight.query_ent_var.begin()
ensight.query_ent_var.description("")
# WARNING: following line includes OBSOLETE call (ensight.query_ent_var.type).
ensight.query_ent_var.type("distance")
ensight.query_ent_var.part_id(4)
ensight.query_ent_var.constrain("1d_part")
ensight.query_ent_var.distance("arc_length")
# WARNING: following line includes OBSOLETE call (ensight.query_ent_var.variable).
ensight.query_ent_var.variable("temp")
ensight.query_ent_var.end()
ensight.query_ent_var.query()
ensight.curve.select_begin(0)
Returns:

zero on success, non-zero on error