Altering Object Properties Using Object Data
Concept Procedure Quick Reference
 
 
 
NoteThis procedure applies only to drawing objects.

To alter the properties of drawing objects based on their object data

  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 that retrieves the objects you want to alter.
  3. In the Define Query dialog box, click Alter Properties.
  4. In the Set Property Alterations dialog box, under Select Property, select the property to change.

    For example, if you store pipe diameters as object data, you can display each pipe with a polyline width that matches the pipe diameter. In this example, you would select Width as the property to change.

  5. In the Expression area, click Data.
  6. Select one of the following:
    • Attribute — Select a block attribute tag. This will appear in the Expression box as @BlockTagName.
    • Database Link — Select a link template and key column. These will appear in the Expression box as &KeyColumn@LinkTemplate.
    • Object Data — Select an object data table and field. These will appear in the Expression box as :FIELD@TABLENAME.
  7. Click OK.
  8. Click Add.

    The property alteration definition is displayed in the Current Property Alterations list. When you execute the query with Alter Properties selected, AutoCAD Map 3D changes the selected property of queried objects based on the value stored in the specified data field.