You can define a property alteration that modifies queried drawing objects based on data that is stored on the objects, such as object data, attribute data, or link data.
To alter the properties of drawing objects based on their object data
- In Map Explorer, under Current Drawing, right-click Current Query, and then click Define.
- In the Define Query Of Attached Drawings dialog box, load or create a query that retrieves the objects you want to alter.
- In the Define Query Of Attached Drawings dialog box, click Alter Properties.
- 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.
- In the Expression area, click Data.
- 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.
- Click OK.
- 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.