The value of an attribute must be one of the following data types:
- Integer
- Real Number
- Quoted String
-
A quoted string consists of text enclosed in quotation marks (""). Attribute values are case-sensitive: B1 is not the same as b1. If the string must contain a quotation mark, precede the quotation mark character with a backslash (\"). Quoted strings can contain other control characters as well. The characters recognized by DCL are shown in the following table:
Control characters allowed in DCL strings
Control character
Meaning
\"
quote (embedded)
\\
backslash
\n
newline
\t
horizontal tab
- Reserved Word
Like reserved words and strings, attribute names are case-sensitive; for example, you cannot assign a width by calling it Width.
Application programs always retrieve attributes as strings. If your application uses numeric values, it must convert them to and from string values. For more information on handling tile values within an AutoLISP® program, see Handling Tiles.
Some attributes, such as width and height, are common to all tiles. Attribute specifications are optional. Many attributes have default values that are used if the attribute is not specified. Other attributes are specifically meant for certain kinds of tiles—for example, the background color of an image. If you attempt to assign this attribute to a different kind of tile, AutoCAD® may report an error. Usually, it ignores the attribute.