A SERVICE OF

logo

112 | Chapter 7 DWG API Additions
Parameters
none
Return Values
String – Represents the name of secondary table linked to the layer.
Error Codes
-15 (DoesNotApply)
See Also
setSecondaryTable, SecondaryTable
setSecondaryTable Method
Syntax
boolean setSecondaryDataSource(String secondaryDataSource)
Description
Sets the secondary table linked to layers that are created from DWG data.
This method sets the secondary table linked only to polyline, polygon, and
point layers. It does not set the secondary table linked to Autodesk DWG
layers.
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
secondaryTable – String representing the name of the secondary table to link
to the layer.
Return Values
boolean – Specifies whether or not the secondary table is successfully set.
True – Indicates that the secondary table is successfully set.
False – Indicates that the secondary table is not set.