Endpoint Position
- Last UpdatedJan 08, 2026
- 2 minute read
This form of construction derives a position as the endpoint of an identified element (typically a line or an arc). A qualifier may be added if there is any ambiguity about which endpoint is to be used. If there is any ambiguity, and if the qualifier is omitted, then a solution will be chosen and returned arbitrarily.
The required endpoint could also be that of one side of a closed polyline primitive, for example, a rectangle. Line definitions of other elements (such as one side of an EQUI, or a line that comprises a piece of a design item shown in a VIEW) may be extracted by cursor.
Examples
-
NEW MRKP DEF ENDPOINT @
Here, a MRKP is positioned on the end of the STRA closest to the cursor hit. Note that the cursor hit acts as the qualifier.
Note that endpoints of lines and arcs can also be picked directly using the IDPT @ command.
-
NEW STRA
FPT X150 Y250
TPT ENDPOINT OF @
(or NEW STRA DEF X150 Y250 ENDPOINT @)
Here, the line has one of its endpoints defined explicitly, the other as the endpoint of the hit arc.
Figure 20:5. Use of the ENDPOINT Construction
Here, the cursor hit also acts as the qualifier.
-
NEW STRA
FPT X150 Y150
TPT ENDPOINT OF PREV ARC QUAL X400 Y400
Here, the line has its ‘from’ point defined explicitly and its ‘to’ point as the endpoint of the previous ARC in the list order closest to (X400, Y400).
Figure 20:6. Use of the ENDPOINT Construction, with Qualifier