A SERVICE OF

logo

MGDwgDataSources Object | 97
1 – Sets the secondary table as the name source.
Return Values
boolean – Specifies whether or not the source of the feature names has been
successfully set.
True – Indicates that the name source has been set successfully.
False – Indicates that the name source has not been set.
Error Codes
-1 (Busy)
-15 (DoesNotApply)
See Also
getNameSource, NameSource
NameSource Property
Syntax
NameSource
Description
Gets and sets the source of feature names for layers that are created from
DWG data. Feature names can be taken from an Autodesk DWG file or a
secondary table. A value of 0 sets the Autodesk DWG file as the name source.
A value of 1 sets the secondary table as the name source.
This property gets and sets the name source only for polyline, polygon, and
point layers created from DWG data. It does not set the name source for
Autodesk DWG layers.
For more information about getting and setting the source of feature names
for a layer, see Step 9 under “Accessing Data Using a Link Template” on
page 20.