82 | Chapter 7 DWG API Additions
MGDwgDataSources Object
The MGDwgDataSources object implements methods and properties to
support Autodesk drawing (DWG) data sources. Autodesk DWG is a world-
wide-standard drawing file format across vertical industries, such as architec-
tural design, and facilities planning and maintenance.
For more information about the MGDwgDataSources object, see the
Autodesk MapGuide Viewer API Help. You can access the MapGuide Viewer
API Help by clicking Autodesk MapGuide 6.5 ➤ Documentation ➤ Autodesk
MapGuide Viewer API Help on the Program menu.
getFilterType Method
Syntax
int getFilterType()
Description
Gets the current filter type that is applied to the DWG data layer. A value of
0 indicates a layer filter type; a value of 1 indicates a query filter type; a value
of 2 indicates a theme filter type.
For information about the different filter types, see “How Queries Work in
Autodesk Map” on page 9, “Creating a Layer from a Theme” on page 13, and
“Creating a Layer By Geometry Type” on page 15.
Parameters
none
Return Values
integer – Value indicating the current filter type.
0 – Layer Filter
1 – Query Filter
2 – Theme Filter