generate_over#

query_ent_var.generate_over(p0: str) int#

Specify whether the query is over time or distance.

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:

‘type’

  • distance

  • time

Examples:
ensight.part.select_all()
ensight.query_ent_var.begin()
ensight.query_ent_var.description("")
ensight.query_ent_var.query_type("generated")
ensight.query_ent_var.number_of_sample_pts(20)
ensight.query_ent_var.begin_simtime(0.0000e+00)
ensight.query_ent_var.end_simtime(0.1900e+02)
ensight.query_ent_var.constrain("node")
ensight.query_ent_var.sample_by("value")
ensight.query_ent_var.node_id(139)
ensight.query_ent_var.variable_1("temperature")
ensight.query_ent_var.generate_over("time")
ensight.query_ent_var.variable_2("TIME")
ensight.query_ent_var.end()
ensight.query_ent_var.query()
Returns:

zero on success, non-zero on error