Click or drag to resize

ApiSessionRunQuery Method (String, ObjectProxy)

Searches the opened project for articy objects.

Namespace:  Articy.Api
Assembly:  ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax
C#
public ResultSet RunQuery(
	string aQuery,
	ObjectProxy aSelfReference
)

Parameters

aQuery
Type: SystemString
A string containing the query expression. See the "ArticyDraft API-Programmer's Guide.pdf" chapter 4 for details.
aSelfReference
Type: Articy.ApiObjectProxy
a Object that is used as SELF object reference in the query or the default null if not required/available

Return Value

Type: 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