query_type#
- query_ent_var.query_type(p0: str) int #
Specify the type of query to be created.
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’
generated
operation
external
- Examples:
ensight.part.select_all() # # At line tool over distance query # 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.constrain("line_tool") ensight.query_ent_var.constrain("line_tool") ensight.query_ent_var.line_loc(1,-7.5000e-01,1.1561e+00,1.0000e+00) ensight.query_ent_var.line_loc(2,1.7500e+00,1.1561e+00,1.0000e+00) ensight.query_ent_var.variable_1("temperature") ensight.query_ent_var.generate_over("distance") ensight.query_ent_var.variable_2("DISTANCE") ensight.query_ent_var.end() ensight.query_ent_var.query()
- Returns:
zero on success, non-zero on error