Overview of Altering the Properties of Queried Drawing Objects
Concept Procedure Quick Reference
 
 
 
NoteThis procedure applies only to drawing objects.

To alter the properties of queried drawing objects

  1. In Map Explorer, under Current Drawing, right-click Current Query, and then click Define.
  2. In the Define Query dialog box, load or create a query.
  3. Under Options, click Alter Properties.
  4. In the Set Property Alterations dialog box, select the property to alter.

    For example, to change the color of queried objects, select Color.

  5. In the Expression area, specify how to alter the property.
    • To modify every queried object in the same way, select the new value for the property.

      For example, if you are altering the color of objects and you want to change the color of all queried objects to red, click Values and select Red.

    • To modify each object using a value that is stored in an associated data source, select the data source, such as Property, Data, or SQL, and specify the location of the data.

      For example, if you store color values in an object data table, click Data and select the table and column that contains the color values. Use this method only if the data values stored in the data source exactly specify the value to use. For example, to alter the color of objects, the data source must specify a valid color value.

    • To modify each object based on other properties or on associated data, select the data source and define a range table.

      For example, if you store installation dates in an associated data source, you can modify the color of objects based on their installation date. To do this, first select the data source for the installation dates, then define a range table that specifies which colors to use for each range of installation dates.

    • You can add text to queried objects or add a hatch pattern to objects.
  6. Click Add to add the property alteration to the Current Property Alterations list.
  7. When you finish defining the property alteration, click OK.
  8. Make sure that Alter Properties is selected when you execute the query.
  9. Under Query Mode, select Draw. You cannot use property alteration in Preview mode or Report mode.
  10. Click Execute Query.

AutoCAD Map 3D performs the query, applies the property alteration definition to the queried objects, and displays the altered objects in the current drawing.