version 6.0
DR SET ATTRIBUTE LOCK (area; scope; attributeNum; lockState)
| Parameter | Type | Description | |
| area | Longint | 4D Draw area | |
| scope | Longint | -1 = All objects, 0 = Selected objects, >0 = ID | |
| attributeNum | Integer | Number of the attribute to lock | |
| lockState | Integer | 0 = Unlock, 1 = Lock, 2 = Toggle |
Description
The command DR SET ATTRIBUTE LOCK locks or unlocks the selected attribute for the objects in scope.
The attributeNum parameter accepts one of the following 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 |