Working with attributes
Consider the following example. Here, each cubicle has a separate cubicle number, as shown by the yellow rectangular block that has a number in it. All the four cubicles’ numbers are different, but they were added using a single block, and the text that changes in all these block references is made with attributes:
Figure 4.73: A sample drawing with blocks containing attributes
In this section, we will learn how to make these attributes, along with other kinds of attributes, and then we will learn how to use attributes in blocks.
Making attributes
In this example, I will make attributes for the cubicle number. First, we will make the rectangle. For this example, I will make a rectangle with a length of 10 units and a width of 5 units. After we have a rectangle, we can start making the attribute:
- Click on the define attributes option in the expanded Block panel of the Home tab, as shown in the following screenshot...