version 6.0
DR Get attribute lock (area; scope; attributeNum) Integer
| Parameter | Type | Description | |
| area | Longint | 4D Draw area | |
| scope | Longint | -1=All | |
| 0=Selected objects | |||
| >0=Object ID | |||
| attributeNum | Integer | Number of the attribute | |
| Function result | Integer | State of the attributeNum parameter | |
| 0 = Not locked, 1 = Locked |
Description
The command DR Get attribute lock returns the state of the attributeNum parameter. The codes that can be passed in attributeNum are listed below.
If DR Get attribute lock returns 0, attributeNum is not locked.
If DR Get attribute lock returns 1, attributeNum is locked.
Here is the list of lock attribute codes:
| Attributes | Values |
| General | |
| Name | 3 |
| Deletion | 0 |
| Location | 7 |
| Size | 5 |
| Shape | 25 |
| Rotation | 11 |
| Ungrouping | 1 |
| Corner Rounding | 24 |
| Text | |
| Font | 19 |
| Size | 20 |
| Style | 21 |
| Justification | 22 |
| Edition | 23 |
| Line | |
| Color | 15 |
| Pattern | 14 |
| Size | 16 |
| Endmarks | 17 |
| Fill | |
| Color | 13 |
| Pattern | 12 |