Code Gallery
Query Builder 1.1 - Selecting Entities by Feature Attributes in ArcGIS for AutoCAD
|
This sample allows you to perform simple queries for selecting features that reside in Feature Classes based on ESRI’s Mapping Specification for DWG (MSD).
How to use it 1.Unzip the project, Add the necessary dlls. Compile and build the project. 2.Copy the QueryBuilder.dll which is located in bin\Debug\ folder of the project to some location recognized by AutoCAD. Add the necessary dlls. Compile and build the project. 3.Type “netload” at the AutoCAD command prompt and select the QueryBuilder.dll to load the application. 4.Type “query” at the command prompt to open the Query Builder window. Feature Classes will be automatically populated when the window is invoked. 1.Select the desired Feature Class from the Drop Down List and accordingly it’s Fields will be displayed. 2.Select the desired Field and the operator. 3.Enter the Value and press OK. You will observe that desired entities will be selected and zoomed to accordingly. Modified code for faster selection.
|
|
Report Inappropriate Content: This Code Gallery is intended for the free exchange of code related to ESRI software products. Let us know if this entry is inappropriate (e.g., a download for a commercial product).

Be the first to comment on this script
If you would like to post a comment, please login.