A SERVICE OF

logo

88 | Chapter 7 DWG API Additions
For information about setting the category of a query filter, see Step 8 under
“How Queries Work in Autodesk Map,” on page 9.
Parameters
queryCategory – String representing the category of the query.
Return Values
boolean – Specifies whether or not the category of the query has been
successfully set.
True – Indicates that the category of the query has been set successfully.
False – Indicates that the category of the query has not been set.
Error Codes
-1 (Busy)
See Also
getQueryCategory, QueryCategory, getQueryName, setQueryName,
QueryName
QueryCategory Property
Syntax
QueryCategory
Description
Sets and gets the category of the query that is assigned as the DWG filter. It
also automatically sets FilterType to a Query Filter (value of 1). For infoma-
tion about FilterType, see “FilterType Property” on page 83.
In DWG layers, you can specify an AutoCAD Map query as the filter for layer
data. Use this property to specify the category of the query to use as the filter.
For information about setting the category of a query filter, see Step 8 under
“How Queries Work in Autodesk Map,” on page 9.