Autodesk 15607-010000-5000A Manuale Utente

Pagina di 180
84
|
Chapter 7
DWG API Additions
See Also
getFilterType
getQueryName Method
Syntax
String getQueryName()
Description
Gets the name of the query that is assigned as the current DWG filter. 
In DWG layers, you can specify an Autodesk Map query as a filter for layer 
data. If FilterType is set as a query filter (value of 1), this method returns the 
name of the query used in the filter. If FilterType is not set as a query filter, this 
method returns NULL with the error code DoesNotApply. For more informa-
tion about FilterType, see “FilterType Property,” on page 83.
Parameters
none
Return Values
string – Represents the name of the query assigned as the DWG filter or an 
empty string. 
Error Codes
-15 (DoesNotApply)
See Also
setQueryName, QueryName, getQueryCategory, setQueryCategory, Query-
Category