Hi . I have a litle problem and a need your help.
My template units is
format --> units
decimal
Grags --> clockwise
meters
genetic
Direction --> North
I use a *.fas file for a long time . The problem is that after "run " the *.fas file and use it ,change my template units to:
format --> units
decimal
Grags --> clockwise
meters
genetic
Direction --> East
I ask from the gay who write this *.fas to help me and he sent me a file that is not working and giving me an error like this
Command: (LOAD "C:/topocad/GRD.fas") C:GRD
Command: grd
Deleting block "grd".
1 block deleted.
; error: quit / exit abort
I dont know why.
So i want to ask if is posible to run this *.fas file through lisp and then to change again the units
I try to write a code
(defun c:test nil
(setq units(getvar "lunits"))
(setvar "lunits" 2) ; decimal
(setq units(getvar "aunits"))
(setvar "aunits" 2) ; grads
(setq units(getvar "angbase"))
(setvar "angbase" 0)
(setq units(getvar "angdir"))
(setvar "angdir" 1) ; clockwise
(princ)
)
I dont know how to change the direction to North
Any ideas ?
Thank