A SERVICE OF

logo

MGDwgDataSources Object | 99
Parameters
none
Return Values
integer – Value indicating the source of the feature URLs.
0 – Indicates Autodesk DWG files as the source.
1 – Indicates secondary tables as the source.
Error Codes
none
See Also
setUrlSource, UrlSource
setUrlSource Method
Syntax
boolean setUrlSource(int urlSource)
Description
Sets the source of feature URLs for layers that are created from DWG data.
These URLs enable users to go the a web page related to a map feature by
double clicking the feature.
Feature URL sources can be taken either from an Autodesk DWG file or a
secondary table. A value of 0 sets the Autodesk DWG file as the URL source.
A value of 1 sets the secondary table as the URL source.
This method sets the URL source only for polyline, polygon, and point layers
created from DWG data. It does not set the URL sources for Autodesk DWG
layers.
For more information about using secondary tables as the source of feature
URLs for a layer created from DWG data, see Step 9 under “Accessing Data
Using a Link Template” on page 20.