NXOpen.UF.Lib.ExecuteQuery

Lib.ExecuteQuery()

Refer to UF_LIB_execute_query for documentation.

Signature: ExecuteQuery(db, clsName, query)

Parameters:
  • db (PointerWrapper) –
    • the library object in which toexecute the query.
  • clsName (str) –
    • the class name
  • query (str) –
    • the query
Returns:

A Tuple

Return type:

A tuple consisting of (count,rset)

count(int): - the number of objects satisfying the query

rset(PointerWrapper): - the record of objects that satisfy the query

License requirements: None