query#
- query_ent_var.query() int #
Specify the creation of a query entity.
The query is created using the current query attributes.- Examples:
ensight.part.select_begin(1) 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("distance") ensight.query_ent_var.number_of_sample_pts(20) ensight.query_ent_var.constrain("line_tool") ensight.query_ent_var.line_loc(1,2.7770e-01,7.7363e-02,1.1348e-02) ensight.query_ent_var.line_loc(2,7.6144e-01,1.7007e-01,5.5697e-02) # WARNING: following line includes OBSOLETE call (ensight.query_ent_var.variable). ensight.query_ent_var.variable("Density") ensight.query_ent_var.end() ensight.query_ent_var.query() ensight.curve.select_begin(0)
- Returns:
zero on success, non-zero on error