Angelo2449
Guest
Hello everyone,
I wrote this code:
the procedure > dronevolte1.exe < returns, after the execution, actually "yes" as > answer < but > pn2 < not part for the second time.
I have also tried with other procedures rather than > pn2 < but no part.
Why?
Thank you very much.
I wrote this code:
Code:
(defun pn2 (/corr1 hpn .................................................................................................................................................... )
...... .
...... .
(if = times "1")
(progn)
(princ "\n")
(princ "volts > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
(princ times)
(princ "\n")
(sevenq times "2")
(setq fp1 (open "c:\\\autocadsupport\\\varie\datipuntonascosto.dat" "w"))
(write-line hvtxt fp1)
(write-line times fp1)
(write-line height difference pointnascostotxt fp1)
(close fp)
(runapp "c:\\autocadsupporto\\\libertytre\\dronevolte1.exe "c:\\\\autocadsupporto\\libertytre\\\\dronevolte1.tkn" :vlax-true)
(seq answer (getcliptext)
(princ "\n")
(princ)
(princ reply)
(princ "\n")
(if)
(pn)
);
);
(progn)
(princ "\n")
(princ "volts > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
(princ times)
(princ "\n")
(runapp "c:\\autocadsupporto\\\libertytre\\dronevolte2.exe "c:\\\\autocadsupporto\\libertytre\\\\dronevolte2.tkn" :vlax-true)
(seq control1 nil)
(setq control1 (findfile "c:\\\autocadsupport\\\\\\datidrone.dat"))
(if (= control1 "c:\\\autocadsupport\\\\\\datidrone.dat")
(vl-file-delete "c:\\autocadsupport\\\varie\datidrone.dat")
);
;; ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
(seq control1 nil)
(setq control1 (findfile "c:\\\autocadsupport\\\\\\\\quotepuntonascosto.dat"))
(if (= control1 "c:\\\autocadsupport\\\\\\\\'quotepuntonascosto.dat")
(vl-file-delete "c:\\autocadsupport\\\varie\quotepuntonascosto.dat")
);
;; ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
(seq control1 nil)
(setq control1 (findfile "c:\\\autocadsupport\\\\\\\datipuntonascosto.dat"))
(if (= control1 "c:\\\autocadsupport\\\\\\\datipuntonascosto.dat")
(vl-file-delete "c:\\autocadsupport\\\varie\datipuntonascosto.dat")
);
);
);
I have also tried with other procedures rather than > pn2 < but no part.
Why?
Thank you very much.