A SERVICE OF

logo

MGDwgDataSources Object | 109
getSecondaryDataSource Method
Syntax
String getSecondaryDataSource()
Description
Gets the secondary data source linked to the layers that are created from
DWG data. This method gets the secondary data source only for polyline,
polygon, and point layers created from DWG data. It does not get the
secondary data source linked to Autodesk DWG layers.
For more information about linking layers created from DWG data to
secondary data sources, see “Accessing Data Using a Link Template” on
page 20.
Parameters
none
Return Values
String – Represents the name of secondary data source.
Error Codes
-15 (DoesNotApply)
See Also
setSecondaryDataSource, SecondaryDataSource
setSecondaryDataSource Method
Syntax
boolean setSecondaryDataSource(String secondaryDataSource)
Description
Sets the secondary data source linked to layers that are created from DWG
data. This method sets the secondary data source only for polyline, polygon,