end_simtime#
- query_ent_var.end_simtime(p0: float) int #
Specify the ending simulation time used to stop the query over time.
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” command.- Args:
- p0:
‘time_value’ ending simulation time value (that corresponds to a time step) at which to stop the computed query over time
- 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() # # Select resulting plot curve # ensight.curve.select_begin(0)
- Returns:
zero on success, non-zero on error