Repository navigation
ATTREDEF Command
Redefines the attribute definitions of a block from the attributes of one of its references, then updates every reference of the block.
| Command | ATTREDEF |
| Web app | Available |
| Since | 2026.44.0 |
- Enter name of block to redefine.
You can also type the name on the same line, for example ATTREDEF TITLEBLOCK.
The command takes the attributes of one reference of the block as the new attribute definitions. A selected reference of the block is used if there is one; otherwise the first reference in the drawing is used. The old attribute definitions of the block are replaced, and all references of the block are then brought in line with the new definitions.
- Each new definition keeps the position, text settings and modes the attribute has on the reference, converted back into the block's own coordinates. The prompt is taken from the old definition with the same tag, or is the tag itself when there is none.
- The command line reports how many attributes the block now has.
- An error is shown if there is no block with that name, no reference of it, or the reference has no attributes.
- References on locked layers are not updated.
- The whole change is one undo step.
ATTSYNC · ATTMAN · ATTDEF · BLOCK
Open CAD Studio is free software under the GPL-3.0 licence · Source code · Download · Web app · Discussions
Get started
- Installation
- Your First Drawing
- Tutorials
- The User Interface
- Ribbon Reference
- Workspaces and Toolbars
- Navigating the Drawing
Draw and edit
- Drawing Setup and Units
- Precision Drawing
- Isometric Drafting
- Drawing Objects
- Multilines
- Selecting Objects
- Modifying Objects
- Hatches and Fills
- Layers and Properties
Annotate
Organise and reuse
Present and share
3D
Tools
Reference