Endpoint Position
- Last UpdatedApr 27, 2023
- 2 minute read
The endpoint position form of construction derives a position as the endpoint of an identified element (typically a line or an arc). A qualifier can 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 is chosen and returned arbitrarily.
The required endpoint can also be that of one side of a closed polyline primitive, for example, a rectangle. Line definitions of other elements (for example, one side of an EQUI, or a line that comprises a piece of a design item in a VIEW) can be extracted by cursor.
Examples
-
NEW MRKP DEF ENDPOINT @
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 @)
The line has one of its endpoints defined explicitly, the other as the endpoint of the hit arc.
The cursor hit also acts as the qualifier.
-
NEW STRA
-
FPT X150 Y150
-
TPT ENDPOINT OF PREV ARC QUAL X400 Y400
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).