Autodesk 15607-010000-5000A Manuale Utente

Pagina di 180
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.
Parameters
none
Return Values
integer – Value indicating the current filter type.
0 – Layer Filter
1 – Query Filter
2 – Theme Filter