An attribute is a particular entity that you can save as part of a block definition. Attributes consist of text-based data. You can use attributes to track such things as part numbers and prices. Attributes have either fixed or variable values. When you insert a block containing attributes, the program adds the fixed values to the drawing along with the block, and you are prompted to supply any variable values.
After you insert blocks containing attributes, you can extract the attribute information to a separate file and then use that information in a spreadsheet or database to produce a parts list or bill of materials. You can also use attribute information to track the number of times a particular block is inserted into a drawing.
Attributes can be visible or hidden. Hidden attributes are neither displayed nor plotted, but the information is still stored in the drawing and written to a file when you extract it.
General procedure to work with attributes
- Define the attributes.
- Create a block.
You can attach attributes to a block. Include the attributes when the program prompts you to select the entities to be included in the block definition. If a block contains attributes, the program prompts you each time you insert the block, so you can specify different values for the attributes each time you insert it into a new drawing.
- Insert the block in a drawing.
- (option) Edit the attributes in a block.
- Extract attribute information.