Learn the basics of AutoCAD and More!

Lesson 2-13 – Working with Attributes

🎓 Lesson Plan: Working with Attributes

Level: Intermediate (Level 2)
Lesson Duration: 90 minutes
Delivery Mode: Self-paced or Instructor-led


🎯 Learning Objectives

By the end of this lesson, students will be able to:

  • Understand what attributes are and how they enhance block functionality.
  • Create and modify attribute definitions.
  • Insert and edit blocks with attributes.
  • Use the ATTEDIT, BATTMAN, and EATTEDIT commands.
  • Extract and export attribute data using DATAEXTRACTION.

🗂️ Lesson Structure

SectionDetails
1. Introduction to Attributes (10 min)What attributes are and why they’re useful in professional drafting
2. Defining Attribute Fields (15 min)How to create attribute tags, prompts, and default values
3. Creating Attribute Blocks (10 min)Combine geometry and attribute fields into one reusable block
4. Inserting and Editing Attributes (10 min)Use of INSERT, ATTEDIT, and EATTEDIT to update info
5. Managing Attributes with BATTMAN (10 min)Attribute manager overview
6. Attribute Visibility and Order (10 min)Control appearance and prompt order
7. Extracting Attribute Data (15 min)Use DATAEXTRACTION to export block data to a spreadsheet or table
8. Hands-On Practice Project (15 min)Create and use an attributed title block or equipment tag
9. Recap and Self-Quiz (5 min)Review major takeaways + practice quiz

🧭 Lesson Content

🔹 1. Introduction to Attributes

  • Attributes are text-based fields embedded in blocks.
  • Used to track part numbers, dates, vendor names, etc.
  • Unlike regular text, they store data and can be extracted.

🔹 2. Defining Attribute Fields

  • Command: ATTDEF
  • Key fields:
    • Tag (name of the attribute)
    • Prompt (what the user sees during insert)
    • Default (default entry if user skips it)
  • Options: Invisible, Constant, Verify, Preset, Lock Position

Example:

Tag: PART_NO
Prompt: Enter Part Number:
Default: 0001

🔹 3. Creating Blocks with Attributes

  • Create geometry (e.g., rectangle)
  • Use ATTDEF to create 2–3 fields
  • Combine geometry and attributes using BLOCK command

🔹 4. Inserting and Editing Attributes

  • Use INSERT to place the attributed block
  • AutoCAD will prompt user for data
  • Use ATTEDIT or EATTEDIT to update fields later

🔹 5. Managing Attributes with BATTMAN

  • Command: BATTMAN
  • Attribute Block Manager allows:
    • Reordering attribute prompts
    • Updating block definitions
    • Synchronizing block references

🔹 6. Attribute Visibility and Prompt Order

  • Some attributes can be hidden (e.g., date codes)
  • Change prompt order in block definition or BATTMAN
  • Use the REGEN command to update the drawing view

🔹 7. Extracting Attribute Data

  • Use DATAEXTRACTION wizard:
    1. Select blocks to extract from
    2. Choose which attributes to export
    3. Output as .xls, .csv, or AutoCAD table

🛠️ Hands-On Exercise

Task: Create a title block with 3 attributes:

  • DRAWING_NAME
  • DATE
  • DRAWN_BY
  1. Create the title block geometry
  2. Define attributes using ATTDEF
  3. Insert the block and enter sample data
  4. Export the data using DATAEXTRACTION

Save as: titleblock_attributes.dwg


🧠 Knowledge Check

  1. What is the difference between ATTEDIT and EATTEDIT?
  2. What command is used to define an attribute?
  3. How do you export all part numbers from a drawing?
  4. What does BATTMAN allow you to do?

✅ Completion Checklist

✔ Created attributes with ATTDEF
✔ Built and inserted an attributed block
✔ Edited attributes with multiple tools
✔ Extracted block data for external use
✔ Passed the knowledge quiz