A SERVICE OF

logo

98 | Chapter 7 DWG API Additions
Parameters
none
Return Values
integer (read/write) – Value indicating the source of feature names.
0 – Indicates the Autodesk DWG file as the name source.
1 – Indicates the secondary table as the name source.
Error Codes
-1 (Busy) – This error code is for the write operation.
-15 (DoesNotApply) – This error code is for the write operation.
See Also
getNameSource, setNameSource
getUrlSource Method
Syntax
int getUrlSource()
Description
Gets the source of the 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 URLs can be taken either from an Autodesk DWG file or a secondary
table. A value of 0 indicates the DWG file as the source feature URLs. A value
of 1 indicates the secondary table as the source for feature URLs.
For more information about getting feature URLs for a layer created from
DWG data, see Step 9 under “Accessing Data Using a Link Template” on
page 20.