search#
- query_interact.search(p0: str) int #
Sets the search mode for surface pick or cursor queries.
- Args:
- p0:
‘search_mode’
may be any of the following values:
exact
closest_node
- Examples:
#WARNING: the following line failed to translate because the function could not be found in the ensight python module # Actual error: module 'ensight' has no attribute 'variable' ensight.sendmesg(r"variable: activate pressure") ensight.query_interact.select_varname_begin("pressure") ensight.query_interact.query("cursor") ensight.query_interact.search("closest_node") ensight.query_interact.create(12.0,15.1,10.3)
- Returns:
zero on success, non-zero on error