request_method#

query_interact.request_method(p0: str) int#

Sets the request method for surface pick or cursor-based queries to be on a request or continuous basis.

In continuous mode, the query will be updated continuously while the mouse or cursor is being moved.
Args:
p0:

‘method’

  • may be any of the following values:

  • continuous

  • pick

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.request_method("pick")
ensight.query_interact.create(12.0,15.1,10.3)
Returns:

zero on success, non-zero on error