elem_id#

query_ent_var.elem_id(p0: int) int#

Specify the element id used to perform the specified element constrained query.

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 time” and “query_ent_var: constrain element” commands.
Only applicable on element-based variables.
Only applicable with the “query_ent_var: constrain element” and “query_ent_var: type time” commands.
Args:
p0:

‘element_id_#’ valid element id number (0-bias

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("time")
ensight.query_ent_var.number_of_sample_pts(10)
ensight.query_ent_var.begin_simtime(2.2300e+02)
ensight.query_ent_var.end_simtime(4.8800e+02)
ensight.query_ent_var.constrain("element")
ensight.query_ent_var.sample_by("value")
# WARNING: following line includes OBSOLETE call (ensight.query_ent_var.variable).
ensight.query_ent_var.variable("NodeToElem")
ensight.query_ent_var.elem_id(14)
ensight.query_ent_var.end()
ensight.query_ent_var.query()
ensight.curve.select_begin(0)
Returns:

zero on success, non-zero on error