Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In this lesson you will define blocks containing geometry and attribute definitions. The room tag block will display the visible attributes containing the room number and the last name of the employee that works in the room. The furniture blocks will each contain attributes describing the price, manufacturer name and model number. As the purpose of this lesson is to define blocks, which become permanently part of the drawing's database, you will delete the unneeded source geometry and attribute definitions as you define the blocks.
Let's first define the room tag as a block. So type the name Room, space, tag. Click Pick Point to specify the base point of this particular block. And snap to the mid point here. Then click Select Objects, select the rectangles, and the room text object and then you're going to go ahead and select the attribute definitions.
But the order that you select them in is significant. You'll be prompted to enter attribute values on the command line in the same order that you select the attribute definitions here in the block definition. So let's click room number first. And then L name. Press Enter, and then choose Delete. Set the block unit to inches, and make sure this is not selected. Click OK, and the source objects are deleted, but the block is now part of the drawing database.
Let's repeat this command by pressing Enter. And now, let's address this armchair. I'll type armchair as the block name. Click Pick Point, and click this midpoint on the front of the chair. Click select objects. And then select the geometry of the chair. And then select the attribute definitions in order from top to bottom. Press Enter and OK. Again, press Enter to repeat the block command.
Type desk. Pick a base point for the desk right here. Click Select Objects and select the geometry of the desk with a couple of crossing windows. Be careful not to select the wall. And then go ahead and select the attribute definitions in order. Press Enter and OK. Down here we don't want to define two identical chair blocks. Instead, we will define only one chair block.
We will ultimately insert two chair references of this block, so we'll have a pair of chairs in each office. Go ahead and erase, by typing E enter. All of this information. Then type b enter for the block command and type chair, select the base point right here and then select the objects of the geometry and then the attributes in order Enter and OK.
In this lesson you defined the room tag and three furniture block which each contain a number of attribute definitions. No values have yet been stored in these data structures that you have designed and implemented.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.