version 6.0
DR SET ENDMARKS (area; scope; type; point)
| Parameter | Type | Description | |
| area | Longint | 4D Draw area | |
| scope | Longint | -2 = Default, -1 = All, 0 = Selected, >0 = ID | |
| type | Integer | 1 = Arrow, 2 = Bar | |
| point | Integer | 0 = None, 1 = Start, 2 = End, 3 = Both |
Description
The command DR SET ENDMARKS changes the endmarks for the lines in area described by scope.
If scope equals -2, the command sets the default endmarks for new lines.
If scope equals -1, the command sets the endmarks for all lines in the document.
If scope equals 0, the command sets the endmarks for the selected lines.
If scope is greater than 0, it must be equal to a specific line's ID and that line's endmarks are set. If the object does not exist, DR SET ENDMARKS does nothing, and DR Error returns error number 2.
type is the kind of endmark on the specified lines. Every line has a type of endmark, even though the endmarks may not be displayed.
If type equals 1, the lines have arrow endmarks.
If type equals 2, the lines have bar endmarks.
point is which ends of the line have endmarks.
If point equals 0, the lines have no endmarks showing.
If point equals 1, the lines have endmarks at the beginning.
If point equals 2, the lines have endmarks at the ending.
If point equals 3, the lines have endmarks on both ends.
Example
The following example gives the selected lines an arrow endmark at their starting points.
DR SET ENDMARKS (Area;0;1;1)
See Also