I am not able to get the coordinates of an object programatically same as that when it is listed.
For example, I have a LINE and when I list it, the coordinates are shown as follows:
from point, X= 9.4424 Y=1908.1028 Z= 0.0000
to point, X= 63.4249 Y=1916.6033 Z= 0.0000
When the same details are tried to get as (cdr (assoc 10 (entget (entlast)))), the results are as follows:
Command: (cdr (assoc 10 (entget (entlast))))
(6.08731e+006 1.99513e+006 0.0)
Command: (cdr (assoc 11 (entget (entlast))))
(6.08736e+006 1.99514e+006 0.0)
I am not using any UCS nor projection.
Can any one help me in getting the correct coordinates of the object?
For example, I have a LINE and when I list it, the coordinates are shown as follows:
from point, X= 9.4424 Y=1908.1028 Z= 0.0000
to point, X= 63.4249 Y=1916.6033 Z= 0.0000
When the same details are tried to get as (cdr (assoc 10 (entget (entlast)))), the results are as follows:
Command: (cdr (assoc 10 (entget (entlast))))
(6.08731e+006 1.99513e+006 0.0)
Command: (cdr (assoc 11 (entget (entlast))))
(6.08736e+006 1.99514e+006 0.0)
I am not using any UCS nor projection.
Can any one help me in getting the correct coordinates of the object?