ObjectProxyRunQuery Method

Searches the opened project for articy objects. The object on which this query is executed can be referenced by the "self" query keyword

Definition

Namespace: Articy.Api
Assembly: QueryLayer (in QueryLayer.dll) Version: 1.0.0
C#
public ResultSet RunQuery(
	string aQuery
)

Parameters

aQuery  String
A string containing the query expression. See the "ArticyDraft API-Programmer's Guide.pdf" chapter 4 for details.

Return Value

ResultSet
a ResultSet object containing one row for every found articy object

Remarks

If the API methods SimpleFindObjects(UInt64, String, TextFilterRelation, SearchTextIn, Boolean) and SimpleFindConflicts(UInt64, SearchConflictsIn) are not sufficient to find the required set of articy objects you need to use this method. RunQuery allows searching for a very specific subset of objects in the opened project using a powerful query language.

See Also