MGDwgDataSources Object | 87
Description
Gets the category of the query that is assigned as the DWG filter.
In DWG layers, you can specify an AutoCAD Map query as a filter for layer
data. If FilterType is set as a query filter (value of 1), this method returns the
category 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
information about FilterType, see “FilterType Property,” on page 83.
For information about setting the category of a query filter, see Step 8 under
“How Queries Work in Autodesk Map,” on page 9.
Parameters
none
Return Values
String (read/write) – Represents the category of the query or an empty string.
Error Codes
-15 (DoesNotApply)
See Also
setQueryCategory, QueryCategory, getQueryName, setQueryName,
QueryName
setQueryCategory Method
Syntax
boolean setQueryCategory(String queryCategory)
Description
Sets the category of the query that you want to assign 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.
Use this method to specify the category of the query used as the filter.