Query#

class ansys.pyensight.core.libuserd.Query(userd: LibUserd, pb: QueryInfo)#

The class represents a reader “query” instance. It includes the query name as well as the preferred titles. The data method may be used to access the X,Y plot values.

Parameters:
userd

The LibUserd instance this query is associated with.

pb

The protobuffer that represents this object.

Attributes:
idint

The id of this query.

namestr

The name of this query.

x_titlestr

String to use as the x-axis title.

y_titlestr

String to use as the y-axis title.

metadataDict[str, str]

The metadata for this query.

Methods

Query.data()

Get the X,Y values for this query.