Autodesk 15607-010000-5000A Manuale Utente

Pagina di 180
MGDwgDataSources Object
|
115
polygon, and point layers. It does not set the secondary key column linked 
to Autodesk DWG layers.
For more information about linking layers that are created from DWG data 
to secondary key columns, see “Accessing Data Using a Link Template” on 
page 20.
Parameters
secondaryKeyColumn – String representing the name of the secondary key 
column that is linked to the layer.
Return Values
boolean – Specifies whether or not the secondary key column is successfully 
set. 
True – Indicates that the secondary key column is successfully set.
False – Indicates that the secondary key column is not set.
Error Codes
-1 (Busy)
-15 (DoesNotApply)
See Also
getSecondaryKeyColumn, SecondaryKeyColumn
SecondaryKeyColumn Property
Syntax
SecondaryKeyColumn
Description
Gets and sets the secondary key column linked to layers that are created from 
DWG data. This property gets and set the secondary key column linked only 
to polyline, polygon, and point layers. It does not get or set the secondary 
key column linked to Autodesk DWG layers.