CAD Center Support Forum

CAD Center Support Forum for all your doubts clearences and career guidance.

For an add free forum just register and be a member..
Share your latest information....Let others know you know some thing....

You are not connected. Please login or register

AutoCAD Tips & Tricks - Block/Attribute

Go down  Message [Page 1 of 1]

1 AutoCAD Tips & Tricks - Block/Attribute on Thu Apr 08, 2010 4:49 pm

How do I control the prompt order for attributes?

When building the block definition, the selection order is the key. If you simply window off the geometry there is a good possibility the prompt order will not be as desired. When selecting objects for a block definition, first individually pick the attribute definitions individually in the order you want to be prompted, then select the rest of the geometry.

Importing Block Definitions

If you want to bring in only the definition of a block (such as a symbol on disk), you can use this little known trick. After issuing the insert command and selecting the file, press the ESC key at the first (insertion point) prompt. You will have the definition in the current drawing for latter use.

Add Descriptions to Blocks

Later versions of AutoCAD have the ability to add descriptions to the block definitions in the drawing.

1. Issue the BLOCK command.
2. Select the block from the list at top.
3. Click in the lower 'Description' section and enter the description.
4. Choose OK to redefine the block with the new description.

Building a block with fields (2006+)

This procedure will explain how to create a coordinate label block that updates as you move or copy it.

1. Issue the BEDIT (block edit) command.
2. Enter the desired name, like COORDBLOCK and chose OK.
3. Draw the desired point identifying geometry, such as a circle at 0,0 with a radius of 0.25.
4. Issue the ATTDEF command.
5. Turn on the Preset toggle in the upper left, this makes for faster inserts as AutoCAD won't prompt for the attribute values (which is automatic anyway).
6. Enter NORTHING for the tag and prompt fields.
7. To the right of the Value field, click the 'Insert Field' button.
8. In the Field Names list on the left, click 'BlockPlaceholder', this is a special area only available during block building.
9. In the middle column, choose the 'Position' property.
10. In the right column, format your output as desired. In this example turn off the X & Z fields and 'Current Units' is the recommended value. While you can lock the precision to a fixed number of places, it's not easy to modify a field based attribute later.
11. Choose OK after completing the field formatting.
12. Change 'Text Options' as desired. For this example we are only changing the height to 1.0.
13. Most likely you will want to turn off the 'Lock Position' toggle so you can move the attribute after the insert.
14. Choose OK to complete the first attribute. When prompted for the insertion point, pick a location or enter coordinates such as 1.0,1.2 for this example.
15. Repeat at step 5 for the EASTING & ELEVATION field attributes, the only other difference being that the 'Align below previous' toggle should be turned on to make positioning easier.
16. Issue the BCLOSE command or choose the 'Close Block Editor' button at the top.
17. Choose Yes to save the changes.

At this point the COORDBLOCK is defined and ready to insert. As you insert them into the drawing the coordinates are filled in automatically. After moving an insert issue the REGEN command to update the values. To make the block available for inserting into other drawings, it will need to be WBLOCKED to a separate DWG file.

1. Issue the WBLOCK command.
2. Choose the Block button and select COORDBLOCK in the list.
3. Click the [...] in lower right to specify a filename.
4. Changing the Insert Units to 'Unitless' is recommended.

View user profile

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum