Attributes and Fields
Make blocks carry information that changes from copy to copy, and text that fills itself in from the drawing — then extract it all to a spreadsheet as a schedule.
A plain block repeats the same geometry everywhere. Two features let a block carry information as well as shape:
- An attribute is a slot a block carries that each copy fills in differently — a door's number, a title block's "drawn by".
- A field is text that fills itself in from the drawing — the sheet number, the date it was saved, the scale. It stays correct when the thing it reports changes.
Between them, they are how a title block fills itself in on every sheet, and how a door schedule writes itself.
Prerequisites
- You can make and insert a block — see Working with Blocks.
Attributes
Defining one
- Draw the block's objects.
- Run Blocks ▸ Define Attribute (
ATT) for each part that changes. Fill in its tag, prompt and default —Tabmoves between the three fields,Enteraccepts them. - Click where it goes, exactly as you would place a piece of text.
- Make the objects and the attributes into a block with Create Block (
BL).
A time-saver: pressing Enter at the next position places the following attribute one line underneath, so a stack of them lays out quickly.
| Term | What it means |
|---|---|
| Tag | The attribute's name — how it is identified, and the column heading when you extract it |
| Prompt | The question you are asked when the block is placed |
| Default | What the value starts out as |
So a door block might have the tag DOOR_NO, the prompt "Door number", and the default D01.
Options
| Option | Key | What it does |
|---|---|---|
| Invisible | V | The value is carried but not drawn — for data you only want in the schedule |
| Constant | C | The same on every copy, and never asked for |
| Multiline | M | The value can run to several lines |
Filling them in
Inserting the block asks for every value at once.
Afterwards:
- Double-click a value to change it.
- Drag its grip to move it clear of something it collides with.
- Put Back, in the Properties panel, returns a value you moved to where the definition puts it.
Extracting attributes to a schedule
This is where attributes pay for themselves.
Blocks ▸ Extract Attributes: tick the blocks and the tags you want, and save the CSV. Open it in any spreadsheet.
Count identical rows collapses matching values into one row with a count — which turns a drawing full of door blocks into a door schedule with quantities, without anybody counting anything by hand.
If you run it on a drawing with nothing to extract, it says so rather than opening an empty dialog: "No block in this drawing has attributes."
Fields
A field is text the drawing keeps up to date for you. Type a sheet number by hand and it is wrong the moment sheets are renumbered. Put a field there and it is never wrong.
Annotate ▸ Field (FLD):
- Choose what it shows — Sheet name, Sheet number, Sheet count, File name, Date saved, Scale, or an attribute of a block reference.
- Choose its form — a date's format, or which scale.
- Click OK, then click where the text goes.
While typing any text, Insert Field… puts one inside what you are writing — so a note can read "Drawing 04 of 12" with both numbers maintained for you.
Worked example: a title block that fills itself in
Both features together, in the order you would actually do it:
- Open a sheet, so you are working in paper millimetres, and draw the border and the fixed words.
- For anything the drawing already knows — the sheet's number, its name, the scale, the date — add a Field.
- For anything you type per sheet — the revision note, the checker's initials — add an attribute.
- Make the whole thing a block, and insert it on each sheet.
Every sheet then shows its own number, and renaming or adding sheets updates them all.
Save the drawing as a template (File ▸ Save as Template) and you keep that title block for future work. See Model Space and Sheets.
Attribute, field, or plain text?
| Use | When |
|---|---|
| Field | The drawing already knows it — sheet number, date, file name, scale |
| Attribute | It differs from copy to copy and you want to type it, or collect it into a schedule — door numbers, room names, revision letters |
| Plain text | It never changes and never needs collecting — "NOT TO SCALE", a general note |
Next Steps
Working with Blocks
Define a named group of objects once and place it as often as you like — then change the definition and every copy follows. Create Block, Insert Block, Edit Block, layers, and exploding.
Styles and Annotation Scales
Control how text, dimensions and points look across a whole drawing with named styles, set the drawing scale so annotation prints the right size, and use annotative objects to suit several scales at once.