Autodesk 15607-010000-5000A Manuale Utente

Pagina di 180
MGDwgDataSources Object
|
101
For more information about information on getting and setting the source of 
feature URLs for a layer created from DWG data, see Step 9 under “Accessing 
Data Using a Link Template” on page 20.
Parameters
none
Return Values
integer (read/write) – Value indicating the URL source.
0 – Indicates Autodesk DWG files as the URL source.
1 – Indicates secondary tables as the URL source.
Error Codes
-1 (Busy) – This error code is for the write operation.
-15 (DoesNotApply) – This error code is for the write operation.
See Also
getUrlSource, setUrlSource
getWhereSource Method
Syntax
int getWhereSource()
Description
Gets the source of the SQL WHERE clause for layers that are created from 
DWG data. This method sets the SQL WHERE clause only for polyline, 
polygon, and point layers created from DWG data. It does not set the SQL 
WHERE clause for Autodesk DWG layers.
SQL WHERE clauses can be taken either from an Autodesk DWG file or a 
secondary table. A value of 0 indicates that the SQL WHERE clause is taken 
from a DWG file. A value of 1 indicates that the SQL WHERE clause is taken 
from a secondary table.