![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/a/fa/afa7aa86-450e-445e-9133-167b3dab882f/afa7aa86-450e-445e-9133-167b3dab882f-bg5c.png)
86 | Chapter 7 DWG API Additions
QueryName Property
Syntax
QueryName
Description
Sets and gets the name of the query assigned as the DWG filter. It also auto-
matically sets FilterType to a Query Filter (value of 1). For infomation about
FilterType, see “FilterType Property” on page 83.
In DWG layers, you can specify an AutoCAD Map query as a filter for layer
data. Use this property to specify the name of the query to use as the filter.
For information about the query filter type, see “How Queries Work in
Autodesk Map” on page 9.
Parameters
none
Return Values
string (read/write) – Represents the name of the query assigned as the filter.
Error Codes
-1 (Busy) – This error code is returned for the write operation.
-15 (DoesNotApply) – This error code is returned for the read operation.
See Also
getQueryName, getQueryCategory, setQueryCategory, QueryCategory
getQueryCategory Method
Syntax
String getQueryCategory()