Autodesk 15607-010000-5000A Manuale Utente

Pagina di 180
MGDwgDataSources Object
|
95
Parameters
none
Return Values
String (read/write) – Represents the category of the theme that is assigned as 
the filter.
Error Codes
-1 (Busy) – This error code is for the write operation.
-15 (DoesNotApply) – This error code is returned for the read operation.
See Also
getThemeCategory, setThemeCategory, getThemeName, setThemeName, 
ThemeName
getNameSource Method
Syntax
int getNameSource()
Description
Gets the source of the feature names for layers that are created from DWG 
data. Feature names can be taken either from an Autodesk DWG file or a 
secondary table. A value of 0 indicates the Autodesk DWG file as the feature 
names source. A value of 1 indicates the secondary table as the feature name 
source.
For more information about getting the source of feature names for a layer 
created from DWG data, see Step 9 under “Accessing Data Using a Link 
Template” on page 20.