ade_qlqrygetid

Land Desktop Development ARX CPP SDK

Up a level
ade_qlqrygetid
 
 

Gets a query ID.

ade_id

ade_qlqrygetid

char* query_name);

Returns a query ID or ADE_NULLID.

query_name Query name.

A query gets a name and an ID when it is saved to a query category of the query library. A new query that you have not yet saved does not have a name or an ID.

The query name is enough to identify a query uniquely. The category name is not required. Within the current drawing and all attached source drawings, no two queries can have the same name, even if they are saved in different categories.