Sunday, September 26, 2010

ATTRIBUTES


To create an attribute, you first create an attribute definition, which describes the characteristics of the attribute. The characteristics include the tag (which is a name that identifies the attribute), the prompt displayed when you insert the block, value information, text formatting, location, and any optional modes (Invisible, Constant, Verify, and Preset).

After creating the attribute definition, you select it as one of the objects when you define the block. Then, whenever you insert the block, you are prompted with the text you specified for the attribute. For each new block insertion, you can specify a different value for the attribute.

To use several attributes together, define them and then include them in the same block. For example, you can define attributes tagged "Type," "Manufacturer," “Model,” and "Cost," and then include them in a block called CHAIR.

If you plan to extract the attribute information for use in a parts list, you may want to keep a list of the attribute tags you have created. You will need this tag information later when you create the attribute template file.

Correct Mistakes in Block Attribute Definitions
If you make a mistake, you can use the Properties palette or DDEDIT to edit an attribute definition before it is associated with a block. You can change the tag, prompt, and default value.

Attach Attributes to Blocks
You can attach attributes to a block when you define or redefine that block. When you are prompted to select the objects to include in the block definition, include in the selection set any attributes you want to attach to the block.

To attach several attributes to the same block, first define the attributes and then include them in the block definition. The order in which you select the attributes determines the order in which you are prompted for attribute information when you insert the block.

Usually, the order of the attribute prompts is the same as the order in which you selected the attributes when you created the block. However, if you used crossing or window selection to select the attributes, the order of the prompts is the reverse of the order in which you created attributes. You can use the Block Attribute Manager to change the order in which you are prompted for attribute information when you insert the block reference.

When you’re working in the Block Editor, you can also use the Attribute Order dialog box to change the order in which you are prompted for attribute information when you insert the block reference. You can only do this when you have a block definition open in the Block Editor.

Use Attributes without Attaching Them to Blocks
Stand-alone attributes can also be created. Once attributes have been defined, and the drawing is saved, this drawing file can be inserted into another drawing. When the drawing is inserted, you are prompted for the attribute values.

That concludes BLOCK, we will analyze it further as and when required. Coming back to the assignment, complete the assignment as shown in the picture and we will see Polyline tomorrow, stay tuned…!

No comments:

Post a Comment