node_id#

query_ent_var.node_id(p0: int) int#

Specify the node id in which to perform the specified node 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: constrain node” command. Only applicable on node-based variables.
Args:
p0:

‘node_id_#’ node id, or label, number

Examples:
# 
# Select part 
# 
ensight.part.select_begin(2)
# 
# Query over time 
# 
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(84)
ensight.query_ent_var.begin_simtime(2.2300e+02)
ensight.query_ent_var.end_simtime(4.8800e+02)
ensight.query_ent_var.constrain("node")
ensight.query_ent_var.sample_by("value")
ensight.query_ent_var.node_id(1)
# 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()
Returns:

zero on success, non-zero on error