HyperWorks Desktop

iQuery_AddCondition

iQuery_AddCondition

Previous topic Next topic No expanding text in this topic  

iQuery_AddCondition

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME


iQuery_AddCondition

 

SYNTAX  


iQuery_AddCondition <query handle> <condition handle>

 

TYPE/CLASS


iQuery

 

 

DESCRIPTION


To add a condition to be queried using ExecQuery API

Query handle

Query handle. See GetQuery.

Condition handle

Condition handle. See Condition_CreateCondition.

 

EXAMPLES


set qryhandle [$gdm GetQuery]

# Add condition to search for metadata

set condition [Condition_CreateCondition $mdnameCAD $value $operator]

set condition1 [Condition_CreateCondition $mdnamehm $value $operator]

iQuery_AddCondition $qryhandle $condition

iQuery_AddCondition $qryhandle $condition1

set clist [ContentInterfaceList]

set status [$gdm ExecQuery $qryhandle $clist]

 

ERRORS


 

SEE ALSO


Condition_CreateCondition

ContentInterfaceList

ContentInterfaceList_size

hwLMStatus_GetMessage