This example demonstrates the use of the &ATDISL EDA to extract the name display location of a line and alter that location.
$$
$$ Declarations
$$
ENTITY/LN1
NUMBER/XYZ(3)
LN1=LINE/-1,0,1,0
XYZ=&ATDISL(LN1)
The variable array XYZ would be assigned the values (0,0,0) which is the midpoint of line LN1. The statements below alter the origin and cause the name to be displayed at the coordinates (.5,.5,0).
XYZ(1)=.5
XYZ(2)=.5
&ATDISL(LN1)=XYZ