Editing existing attribute references and definitions
Video: Editing existing attribute references and definitionsIn this lesson, you'll learn how to change existing attribute values and how to alter attribute definitions, without exploding their blocks. Open the Office 6 project file. Suppose we want to change the employee who works in Room 104 and we want to update their last name in this room tag. You can do that by going up here, to the Edit Attribute command in the block panel, which is on the Insert tab of the ribbon. This launches the command eatedit, which stands for Enhanced Attribute Editor.
Viewers: in countries Watching now:
In this workshop, AutoCAD expert and author Scott Onstott teaches you how to build intelligence into drawing objects so that the symbols used in your drawings carry meaning beyond simple geometric representations. Learn how to embed manufacturer, model, and pricing data into commonly used blocks; create invisible attributes that embed data in geometry without it appearing in the drawing area; and use field codes to display information from the AutoCAD database inside text objects. Plus, discover how to format, edit, and extract attribute data for use in external spreadsheets and/or for display within tables in AutoCAD drawings.
- Why data management is important in AutoCAD
- Designing attributes and storing attribute data
- Using fields to display object properties
- Extracting data from AutoCAD send to Microsoft Excel
- Creating tables
- Formatting table cells and styles
- Editing table cells and using formulas
Editing existing attribute references and definitions
In this lesson, you'll learn how to change existing attribute values and how to alter attribute definitions, without exploding their blocks. Open the Office 6 project file. Suppose we want to change the employee who works in Room 104 and we want to update their last name in this room tag. You can do that by going up here, to the Edit Attribute command in the block panel, which is on the Insert tab of the ribbon. This launches the command eatedit, which stands for Enhanced Attribute Editor.
Click anywhere on the room tag block to open this dialog box. It shows you both of the tags which are part of this particular block. Click on Lname, and you'll see its value appear down here. Highlight that and just type in the new employee name, which is Montgomery. (audio playing) Type it all in capital letters like all the other employee last names and click OK. (audio playing) Now we've successfully changed the value but this particular last name is too long to fit within the rectangle that was designed for this particular block. We can fix that by narrowing the width of this particular attribute. To do that let's go back into the enhanced attribute editor, but this time instead of going up here an selecting it, we'll just double-click on the block itself.
(audio playing) This automatically opens the dialog box. Select Lname, and then go to the Text Options tab. Here you can change the width factor, (audio playing) highlight the value and type 0.7. Click OK (audio playing) and this singular block reference has been updated. If you look at the other room tags, you'll see that they're just the same width as they were before. The text width is defined by the text style used in the attribute definitions. Suppose you wanted to update all the room tags now to use the narrower width that you see in Room 104.
That's possible with the Block Attribute Manager. You can open that here by clicking Manage Attributes on the Block Definition panel. The command is Batman. (audio playing) Select Room Tag from this drop-down menu. Notice that we don't see any employee last names here. That's because the Block Attribute Manager allows you to edit the attribute definitions. Double-click on Lname to open a secondary dialog box.
Then go to it's text options tab and change the Width factor to 0.7. Click OK and all the existing room tags are updated because we've changed the way the attribute definitions appear. Click OK. Now suppose you want to edit (audio playing) some of these furniture blocks. I'll double-click on this armchair (audio playing) and we see that the Enhanced Attribute Editor opens up. I could edit the price or manufacturer values down here. There's also a third invisible attribute that was defined within this block. model.
We don't see it here because it used a constant mode. So we're not able to edit that. When we insert the arm chair, we're asked to verify the price. But we're not asked about the manufacturer and that's because the manufacturer was set to the preset mode. However, you can edit that here (audio playing) in the Enhanced Attribute Editor. If you want to edit the model, you have to do that in the Block Attribute Manager.
Suppose we do want to change the model number, we'll cancel out of here, go to Manage Attributes, select Armchair (audio playing) and double-click on model. (audio playing) Let's change the default model number (audio playing) to A333. OK and OK. (audio playing) All of the armchair blocks in this drawing had been updated with that invisible default value.
So in this video, you'll learn how to edit attribute values and attribute definitions using the eatedit and batman commands. You now have the skills to design, implement, and modify attributes.
There are currently no FAQs about Data Management with AutoCAD 2013.