Autodesk 15607-010000-5000A Manuale Utente

Pagina di 180
20
Accessing Data Using a Link Template
In Autodesk Map, a link template associates objects in the drawing with 
records in an external database. In this release of Autodesk MapGuide, you 
can access all the columns of any database table that is linked to the drawing 
by a link template. For information about the other kinds of database tables 
that you can link, see the topic “About DWG Data Sources” in the Autodesk 
MapGuide Help.
Note  When using DWG link templates in Autodesk MapGuide, the UDL files for 
the link template data sources must be copied from the Autodesk Map Data Links 
folder to the Autodesk MapGuide Server Data Sources folder. Otherwise, 
MapGuide will be unable to access the data source. You can find the location of 
the UDL files used by Autodesk Map on the Files tab of the Options dialog box.
To access external database tables using a link template
In Autodesk MapGuide Author, right-click Map Layers and then click any 
of the DWG layer-creation options on the shortcut menu.
On the General tab, enter a name for the new layer.
For Draw Features From, select Autodesk DWG Data Source.
Click the Data Source Browse button, and select a DWG data source. 
Click the Autodesk DWG Browse button, and select a DWG file. 
Click the Key Table Browse button, and select a link template (link tem-
plate tables begin with DB_). 
Click the Key Column Browse button, and select a column. 
For Filter Type, select Layer, Query, or Theme.
You can use any of the three filtering methods to specify the geometry 
that you want to bring into your map. 
Link template 
selected here