Query#
- class ansys.pyensight.core.utils.query.Query(interface: ensight_api.ensight | ensight)#
Provides the
ensight.utils.queryinterface.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.queryin EnSight Python and asSession.ensight.utils.queryin PyEnSight. The constructor is passed the interface, which serves as theensightmodule 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
ensightnamespace. In the case of EnSight Python, theensightmodule is passed. In the case of PyEnSight,Session.ensightis 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