To Combine Conditions

You can combine query conditions to select specific drawing objects for a new drawing layer in Display Manager.

To bring in drawing objects by combining query conditions

  1. Do one of the following:
    • In Display Manager , click DataAdd Drawing DataQuery Current Drawing.
    • In Display Manager, click DataAdd Drawing DataQuery Source Drawing. Be sure you have attached the DWG files to query.
    • In Display Manager, click DataAdd Drawing DataQuery Topology.
  2. In the Define Query dialog box, create the first condition by clicking Query Type.
    • Location — Selects objects based on their location. Click Zoom Ext to zoom to the extents of all active attached drawings.
    • Property — Selects objects based on an object property, such as layer, color, or area.
    • Data — Selects objects based on object class, object properties, database links, object data, or attributes.
    • SQL — Selects objects based on linked external data.

    When you finish defining the condition, you return to the Define Query dialog box with the condition listed in the Current Query area.

  3. Before you create the next condition, select a joining operator.
    • And — Finds objects only if both conditions are true.
    • Or — Finds objects if either condition is true.
    • And Not — Finds objects only if the first condition is true and the second condition is false.
    • Or Not — Finds objects if either the first condition is true or the second condition is false.
  4. Create the next condition by clicking Query Type.
  5. Continue to create conditions.
  6. To group conditions, select the first and last condition in the group. Click Group. Conditions inside the parentheses are evaluated first.
  7. When you finish defining conditions, click OK.

The new layer appears in Display Manager. Objects that meet the conditions of the query are included in this layer. To see the objects, you may need to zoom to the drawing extents.