A SERVICE OF

logo

MGDwgDataSources Object | 107
See Also
getSQLWhereClause, setSQLWhereClause
isLinkedToSecondaryTable Method
Syntax
Boolean isLinkedToSecondaryTable()
Description
Specifies whether or not the current layer is linked to a secondary table. A
value of True indicates that a link exists. A value of False indicates that a link
does not exist.
In order to link to a secondary table, you need to call the setSecondaryData-
Source, setSecondaryTable, and setSecondaryKeyColumn methods. After you
set these, you can call the setNameSource, setUrlSource, or setWhereSource
methods to link to a secondary table. If either setNameSource, setUrlSource,
or setWhereSource is set to 1, this method returns a value of True. Otherwise,
this method returns a value of False.
For more information about linking layers that are created from DWG data
to secondary tables, see “Accessing Data Using a Link Template” on page 20.
Parameters
none
Return Values
boolean – Specifies whether or not the layer is linked to a secondary table.
True – Indicates that the layer is linked to a secondary table.
False – Indicates that the layer is not linked to a secondary table.
Error Codes
-15 (DoesNotApply)
See Also
LinkedToSecondaryTable