Query#
- class ansys.pyensight.core.utils.query.Query(interface: ensight_api.ensight | ensight)#
Provides the
ensight.utils.query
interface.The methods in this class implement simplified interfaces to common query-orientated operations, such as creating a temporal or temporal query.
This class is instantiated as
ensight.utils.query
in EnSight Python and asSession.ensight.utils.query
in PyEnSight. The constructor is passed the interface, which serves as theensight
module for either case. As a result, the methods can be accessed asensight.utils.query.create_distance()
in EnSight Python orsession.ensight.utils.query.create_distance()
in PyEnSight.- Parameters:
- interface
Entity that provides the
ensight
namespace. In the case of EnSight Python, theensight
module is passed. In the case of PyEnSight,Session.ensight
is passed.
Methods
Query.create_distance
(name, query_type, ...)Create an EnSight query over a distance object.
Query.create_temporal
(name, query_type, ...)Create an EnSight query over time.
Attributes