A SERVICE OF

logo

MGDwgDataSources Object | 103
Parameters
whereSource – Value indicating the source of the SQL WHERE clause.
0 – Sets the Autodesk DWG file as the source for the SQL WHERE clause.
1 – Sets the secondary table as the SQL WHERE clause source.
Return Values
boolean – Specifies whether or not the source of the SQL WHERE clause has
been successfully set.
True – Indicates that the source has been set successfully.
False – Indicates that the source has not been set.
Error Codes
-1 (Busy)
-15 (DoesNotApply)
See Also
getWhereSource, WhereSource
WhereSource Property
Syntax
WhereSource
Description
Gets and sets the source of the SQL WHERE clause for layers that are created
from DWG data. This property sets the source of the SQL WHERE clause only
for polyline, polygon, and point layers created from DWG data. It does not
set the SQL WHERE clause source for Autodesk DWG layers.
SQL WHERE clause sources can be taken from an Autodesk DWG file or a
secondary table. A value of 0 sets the Autodesk DWG file as the source for the
SQL WHERE clause. A value of 1 sets the secondary table as the SQL WHERE
clause source.