110 | Chapter 7 DWG API Additions
and point layers created from DWG data. It does not set the secondary data
source linked to Autodesk DWG layers.
For more information about linking layers that are created from DWG data
to secondary data sources, see “Accessing Data Using a Link Template” on
page 20.
Parameters
secondaryDataSource – String representing the name of the secondary data
source.
Return Values
boolean – Specifies whether or not the secondary data source is successfully
set.
True – Indicates that the secondary data source is successfully set.
False – Indicates that the secondary data source is not set.
Error Codes
-1 (Busy)
-15 (DoesNotApply)
See Also
getSecondaryDataSource, SecondaryDataSource
SecondaryDataSource Property
Syntax
SecondaryDataSource
Description
Gets and sets the secondary data source linked to layers that are created from
DWG data. This property gets and sets the secondary data source only for
polyline, polygon, and point layers created from DWG data. It does not get
or set the secondary data source linked to Autodesk DWG layers.