-ATTDEF command

Defines attribute data.

BricsCAD Lite; BricsCAD Pro; BricsCAD Mechanical; BricsCAD BIM

Alias: -AT

Note: This command is meant for use by macros, scripts, and LISP routines. To specify attributes with a dialog box, use the ATTDEF command.

Description

Defines attribute data (used by blocks) at the Command line.

Options

Define an attribute by toggling attribute modes.

Toggle attribute modes: Constant = Off Invisible = Off Preset = Off Verify = Off Lock position = Off Annotative = Off Multiple Lines = Off

Constant – type C

  • Off - users can change the value of the attribute.
  • On - users cannot change the value.

Invisible – type I

  • Off - displays the attribute in the drawing.
  • On - hides the attribute
Note: Invisible attributes are not displayed nor printed, but can be displayed with the ATTDISP command.

Preset – type P

  • Off - prompts the user to enter values.
  • On - inserts attributes automatically, without prompting the user.
Note: The value of attributes can be changed later with the ATTEDIT command.

Verify -type V

  • Off - user enters the attribute value once.
  • On- forces the user to enter the value a second time to ensure the value is entered correctly.

Lock position – type L

  • Off - users can move attributes using grip editing.
  • On - locks the position of the attribute within the block reference.

Annotative – type A

  • Off – creates attributes using a non-annotative style.
  • On - creates attributes using an annotative style.

Multiple lines - type M

  • Off - forces the use only of single-line text.
  • On - allows the use uses multiline text.
Tag name of attribute
Specifies the tag of the attribute; this is the name by which BricsCAD identifies the attribute. You can use up to 255 letters, numbers and punctuation.
Prompt
Specifies the user prompt; this is displayed at the command prompt when the attribute is later inserted in the drawing. You can leave this field blank; BricsCAD uses the tag as the prompt during attribute insertion.
Default text
Specifies the default value and set the style and justification of the text, as with TEXT command. If the Multiple lines mode is on, you may introduce more text lines.
Text start point
Specify the start point of the text.
user defined Style
Specifies the name of the text style.
Align on line
Aligns the text between two points. The text height is adjusted to maintain its aspect ratio.
Fit between points
Aligns the text between two points.
Center horizontally
Centers the text’s baseline on the pick point.
Middle (hor/vert)
Centers the text on the pick point.
Justification options...
Accesses additional justification options.
Height of text
Specifies the height of the attribute text, unless overridden by the text style or justification.
Rotation angle of text
Specifies the rotation angle of the rotation text.