Attribute Definition (command line version): ATTDEF

Keyboard: -_ATTDEF

Alias: -ATT

Creates an attribute definition, which is an entity consisting of a name, prompt for information, display characteristics, and default text. Use an attribute definition for text that you want to associate with a block definition.

Enter an option to change: Invisible/Constant/Verify/Preset/Lock position/Annotative/Multiple lines <done>: To create an attribute definition, press Enter. To switch the attribute modes, choose Invisible, Constant, Verify, Preset, Lock position, Annotative, or Multiple lines. When you choose a mode, the setting switches between Y(es) and N(o).

To specify an attribute mode

To specify that the attribute values are not displayed when you insert the block, choose Y for Invisible. (You can display Hidden attributes later using a different command.)

To specify that the attribute value is constant and not requested when you later insert a block containing the attribute, choose Y for Constant. (You can edit the attribute after the block is inserted.)

To specify that you want to be prompted for verification that the attribute value is correct when you insert a block, choose Y for Verify.

To specify that the attribute is set to its default value when you insert a block containing a preset attribute, choose Y for Preset.

To specify that the attribute position is locked within the block, choose Y for Lock position.

To specify that the attribute is annotative, choose Y for Annotative.

To specify that the attribute can have multiple lines of text, choose Y for Multiple lines.

To define an attribute

Press Enter.

Enter attribute tag name: Enter a name for the attribute. You can use any characters, except spaces.

Enter attribute prompt: Enter a prompt, using text and spaces. This prompt appears when you insert the attribute into the drawing, allowing you to enter text in the drawing. This prompt option does not appear when you choose Y for Constant.

Enter default attribute value: Enter the text that you want associated with the attribute. This text appears when you insert a block containing this attribute. If the Multiple lines mode is off, the same prompts as for the Text command display. If you turned the Multiple lines mode on, some of the prompts for the Multiline Text command display.

Specify start point of text or [Justify/Style]: Specify the start point for the text. To specify the text style, choose Style. To specify the justification of the single-line attribute, choose Justify and then the setting.

Height of text: To accept the current setting, press Enter. To change the text height, enter a new value or specify a point.

Rotation angle of text: To accept the current setting, press Enter. To change the angle, enter the rotation angle of the text, or specify a point.


NOTE After you have finished defining an attribute, you see its name on the screen. To attach the attribute to a block, use the Create Block command. Then insert the block and the attribute, using the Block command, at which point the program prompts you to enter text for the attribute.


Define Attributes

Define an attribute

ATTDEF
© Copyright 2023. Back2CAD Technologies LLC. All rights reserved. Kazmierczak® is a registered trademark of Kazmierczak Software GmbH. Print2CAD, CADdirect, CAD.direct, CAD Direct, CAD.bot, CAD Bot, are Trademarks of BackToCAD Technologies LLC. DWG is the name of Autodesk’s proprietary file format and technology used in AutoCAD® software and related products. Autodesk, the Autodesk logo, AutoCAD, DWG are registered trademarks or trademarks of Autodesk, Inc. All other brand names, product names, or trademarks belong to their respective holders. This website is independent of Autodesk, Inc., and is not authorized by, endorsed by, sponsored by, affiliated with, or otherwise approved by Autodesk, Inc. The material and software have been placed on this Internet site under the authority of the copyright owner for the sole purpose of viewing of the materials by users of this site. Users, press or journalists are not authorized to reproduce any of the materials in any form or by any means, electronic or mechanical, including data storage and retrieval systems, recording, printing or photocopying.