version 6.0
Attributes are the characteristics of objects, such as fill pattern or color. In 4D Draw several commands refer to attributes using numeric codes. Use this Appendix to determine the correct field types when binding attributes to fields, and the correct array types when filling arrays and modifying objects in the commands DR ATTRIBUTE TO ARRAY and DR ARRAY TO ATTRIBUTE.
The Ideal type is the best possible choice. Types listed under Other types are alternates but some data may be lost when information is transferred. Note the restrictions on certain attributes.
| Code | Attribute | Ideal Type | Other Types | Restrictions |
| 0 | ID | Longint | Integer, Real | Can't be modified or searched |
| 1 | Object Type | Integer | Longint, Real | Can't be modified |
| 2 | Reference Number | Longint | Integer, Real | |
| 3 | Name | Alpha/String 31 | Text | |
| 4 | Lock Code | Longint | Integer, Real | Can't be searched |
| 5 | Width | Real | Integer, Longint | Can't be searched |
| 6 | Height | Real | Integer, Longint | Can't be searched |
| 7 | Left Boundary | Real | Integer, Longint | Can't be searched |
| 8 | Right Boundary | Real | Integer, Longint | Can't be searched |
| 9 | Top Boundary | Real | Integer, Longint | Can't be searched |
| 10 | Bottom Boundary | Real | Integer, Longint | Can't be searched |
| 11 | Rotation | Integer | Longint, Real | |
| 12 | Fill Pattern | Integer | Longint, Real | |
| 13 | Fill Color | Longint | Integer, Real | |
| 14 | Line Pattern | Integer | Longint, Real |
| Code | Attribute | Ideal Type | Other Types | Restrictions |
| 15 | Line Color | Longint | Integer, Real | |
| 16 | Line Width | Real | Integer, Longint | |
| 17 | Endmark Kind | Integer | Longint, Real | Can't be searched |
| 18 | Endmark End | Integer | Longint, Real | Can't be searched |
| 19 | Text Font | Integer | Longint, Real | |
| 20 | Text Size | Integer | Longint, Real | |
| 21 | Text Style | Integer | Longint, Real | |
| 22 | Text Just | Integer | Longint, Real | |
| 23 | Text Characters | Text | Alpha/String 255 | Can't be searched |
| 24 | Corner Rounding | Real | Integer, Longint | |
| 25 | Area | Real | Integer, Longint | Can't be modified or searched |
| 26 | Perimeter/Line Length | Real | Integer, Longint | Can't be modified or searched |
| 27 | Objects | Integer | Integer | 0 = Invisible, 1 = Visible |
| 28 | Objects | Integer | Integer | 0 = Not in background |
| 1 = In background |