Difference between revisions of "Spatial Manager™ for AutoCAD - FAQs: Advanced Selection ("Standard" and "Professional" editions only)"

From Spatial Manager Wiki
Jump to navigation Jump to search
m
m
Line 96: Line 96:
 
*'''Parameters and options'''
 
*'''Parameters and options'''
 
**Objects selection (Group 1 and Group 2)
 
**Objects selection (Group 1 and Group 2)
***''Only selected objects'': only a set of objects will be selected. You can select the objects before executing this command (for one of the Groups) or by using the Selecting buttons in this window
+
***''Only selected objects'': A set of objects will be selected. You can select the objects before executing this command (for one of the Groups) or by using the Selecting buttons in this window
 
****Manual selection
 
****Manual selection
 
****Select by Query: select objects according to the result of a simplex or compound data query [[#Can_I_define_a_selection_of_objects_based_on_the_values_of_their_data.3F|''(See "Selecting by Query")'']]
 
****Select by Query: select objects according to the result of a simplex or compound data query [[#Can_I_define_a_selection_of_objects_based_on_the_values_of_their_data.3F|''(See "Selecting by Query")'']]
 
****Select by Table: select objects which have been previously attached to a specific data table [[#Can_I_select_all_the_objects_attached_to_the_same_data_table.3F|''(See "Selecting by Table")'']]
 
****Select by Table: select objects which have been previously attached to a specific data table [[#Can_I_select_all_the_objects_attached_to_the_same_data_table.3F|''(See "Selecting by Table")'']]
***''Select objects in a layer'': only the objects included in an AutoCAD Layer will be selected. You can select the layer using the drop-down list in this window
+
***''Select objects in a layer'': All the objects in an AutoCAD Layer will be selected. You can select the layer using the drop-down list in this window
 
**Spatial operation
 
**Spatial operation
 
***''Intersects'': A geometry Intersects another one if they have at least a point in common. It is the opposite of 'Disjoint'. For example, combined with Buffers, objects that are located at a certain distance from other objects, which will normally be points or linear objects (such as buildings located at a certain distance from road or street axes, etc.)
 
***''Intersects'': A geometry Intersects another one if they have at least a point in common. It is the opposite of 'Disjoint'. For example, combined with Buffers, objects that are located at a certain distance from other objects, which will normally be points or linear objects (such as buildings located at a certain distance from road or street axes, etc.)

Revision as of 16:33, 19 June 2021

Spatial Manager™ for AutoCAD product page Download Spatial Manager™ for AutoCAD


Notes:

  • Some components in the images on this page (providers, names, windows look, etc.) may be slightly different from those that will appear on your computer
  • Some application functions need to access the Internet from the application itself. If you experiment problems in any process, ask your network administrator if there is a Proxy server installed on your network. You can configure the Proxy settings through the application options


Introduction

  • Objective of this section
    • To learn how to select AutoCAD objects in a Data and/or Geometric relationship basis
  • Topics in this section
    • Select objects based on spatial queries
    • Select objects based on data queries
    • Select objects which are attached to a specific table
    • Zoom to the selection


  • NOTES:
    • Objects Data: You can learn more about Tables and attached Data in the Data Structure Management chapter
    • Selections performance: The selection of objects in AutoCAD may be a few slower when the "SpatialManager" palette is open, depending on the data of the objects
    • Complex and mixed selections: In addition to the use of the below commands or in combination with them, you can make use of selecting objects in the Data Grid or by using any other selection method available in AutoCAD (Quick Select, etc.). Also note that, as most of the advanced application or AutoCAD selection commands will let you apply the selection to the current selection, the number of possible combinations to select what you are interested in is almost unlimited


Can I define a selection of objects based on the values of their data?

The command 'SPMSELECTBYQUERY' in 'Spatial Manager™ for AutoCAD' allows you select objects in the drawing according to the result of simple or compound data queries


'SPMSELECTBYQUERY' command in the Spatial Manager™ for AutoCAD ribbon


  • The query can be applied to one data table or to all the data tables defined in the drawing
  • Click on the "+" button to add at least one condition and so create a data query (a condition that stands for "Property & Comparator & Value")
  • When you are defining a compound query, you can add as many conditions as you want to the conditions list . Click on the "+" button each time you need to add a condition
    • You can select the logical operators "And" or "Or" when adding new conditions. "And" will be the default operator
  • In addition, if there is any object selected when you run the command, you can:
    • Apply the query to the current selection, and not to the entire drawing, or,
    • Keep the current selection so the new "query selection" will be added to the current selection
  • Notes:
    • You can choose and search (...) among the available values for a Field
    • The command keeps the list of query conditions used the last time it was executed
    • If there are no results during a query, the command window is shown again and keeps the list of query conditions
    • You can use the "-" button every time you need to remove a condition from the conditions list in the query, or you can use the Clean button (the "broom") to remove all query conditions from the list


Define selection queries window


Note: You can use the command 'SPMZOOMTOSELECTION' (see below) to quickly zoom to the selection extent


Can I select all the objects attached to the same data table?

Yes, you can select all the objects which have been previously attached to a specific data table. To do that, execute the command 'SPMSELECTBYTABLE' of Spatial Manager™ for AutoCAD. You will find this command in the "Spatial Manager" AutoCAD ribbon


'SPMSELECTBYTABLE' command in the Spatial Manager™ for AutoCAD ribbon


Select objects by table window


To choose the one you want, click on the data tables drop-down list


Note: You can use the command 'SPMZOOMTOSELECTION' (see below) to quickly zoom to the selection extent


Can I define a selection of objects based on their geometric relationship?

The command 'SPMSPATIALQUERY' in 'Spatial Manager™ for AutoCAD' allows you select objects in the drawing according to the result of advanced simple or compound spatial queries

Note: This command was introduced in the version 7 of the application, so is not available for some old Autodesk products


'SPMSPATIALQUERY' command in the Spatial Manager™ for AutoCAD ribbon


Advanced selection by processing Spatial Queries


Advanced selection by processing Spatial Queries


SPMSpatialQueryACADWin.png


This function allows you to select objects in the drawing by performing "geometric operations" between two groups of objects: "Selection" (Group 1) and "Query with" (Group 2). For example, according to the chosen parameters in this image, all the Hydrants (points) that are located within a Parcel (polygons) would be selected


  • Parameters and options
    • Objects selection (Group 1 and Group 2)
      • Only selected objects: A set of objects will be selected. You can select the objects before executing this command (for one of the Groups) or by using the Selecting buttons in this window
      • Select objects in a layer: All the objects in an AutoCAD Layer will be selected. You can select the layer using the drop-down list in this window
    • Spatial operation
      • Intersects: A geometry Intersects another one if they have at least a point in common. It is the opposite of 'Disjoint'. For example, combined with Buffers, objects that are located at a certain distance from other objects, which will normally be points or linear objects (such as buildings located at a certain distance from road or street axes, etc.)
      • Touches: A geometry Touches another one if they have common points only at their boundaries, without intersection and no one of them contains or is equal to the other. For example, buildings touching another building within a block of contiguous buildings (the drawing must be very precise because no intersections should occur)
      • Within: A geometry is Within another one if it is completely inside or they are equal. It is the inverse of 'Contains'. For example, to select points representing pharmacies within a neighborhood, polygons representing hospitals within a municipality or buildings within a parcel, etc.
      • Contains: A geometry Contains another one if the second one is completely inside of the first one or they are equal. Is is the inverse of 'Within'. For example, to select all the parcels in a municipality that contain one or more buildings
      • Disjoint: A geometry is Disjoint from another one if they do not have any points in common (that is, "out of": it does not intersect and does not touch). It is the opposite of 'Intersects'
      • Overlaps: A geometry Overlaps another one if they have areas in common, but no one of them is fully inside the other one and they are not equal. For example, polygons that intersect, but none of them are completely inside each other, i.e., " they cross". A practical case could be the selection of buildings in one municipality that are located partially within the boundary of the municipality and partially within the boundary of another adjacent municipality
      • Crosses: A geometry (linear object) Crosses another one if it has at the same time parts inside and outside of the second one. For example, to select road sections that are partially located within the boundaries of two or more municipalities


Note: You can use the command 'SPMZOOMTOSELECTION' (see below) to quickly zoom to the selection extent


Is there any way to locate on the screen all the selected objects?

Yes, the 'Spatial Manager™ for AutoCAD' 'SPMZOOMTOSELECTION' command, zooms to the current selection extent so you can locate all the selected objects in an optimal size view


'SPMZOOMTOSELECTION' command in the Spatial Manager™ for AutoCAD ribbon


Zoom to the current selection extent


Note: This functionality can be very handy as a complement to the previous selection commands, but also if it is used with other AutoCAD selection functions


Related links



Spatial Manager™ for AutoCAD product page Download Spatial Manager™ for AutoCAD