Autodesk 15606-011408-9300 Developer Guide - Page 165
Understanding Layers in Autodesk MapGuide, Changing Map Layer Data Source Properties, Layer Type
UPC - 606121429548
View all Autodesk 15606-011408-9300 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 165 highlights
Understanding Layers in Autodesk MapGuide When working with DWG data especially, it is important to understand the difference between Autodesk DWG layers, Autodesk MapGuide map layers, and Autodesk DWG map layers. These are not the same and are defined as follows: Layer Type Autodesk DWG layer Autodesk MapGuide map layer Autodesk DWG map layer Definition A single layer within an Autodesk drawing file (Autodesk DWG). A single map layer defined within an Autodesk MapGuide map window file (MWF). There can be several types of Autodesk MapGuide map layers, including ones sourced from SDF, SHP, DWG, and so on. A single Autodesk MapGuide map layer that is sourced from an Autodesk DWG or Autodesk Map project drawing. Changing Map Layer Data Source Properties When using Autodesk MapGuide Viewer API methods that set Autodesk MapGuide map layer data source properties, including those for Autodesk DWG data, keep in mind that the changes you make can affect the validity of other data source properties for that layer. For example, if you changed the DWG data source using the MGDwgDataSources.setDataSource method (or the MGDwgDataSources.DataSource property), this change could make existing values for other properties (such as the Autodesk DWG file) invalid since they might not exist in the new data source. DWG Filtering Application | 165