A Visual LISP Exercise: Application That Reads Point List From A
A Visual LISP Exercise: Application That Reads Point List From A
1 of 3
http://www.dailyautocad.com/2008/12/visual-lisp-exercise-application...
0 yorum
Today we will work on Orhan's article AutoLISP application that reads points from a list and places
them in the drawing". First of all, we will convert it to VisualLISP language, and then give you detailed
explanation. Our application will (or I hope it will :-) read the positions of points and their associated
RGB color codes and then place them in our drawing. We can now use RGB codes in our applications.
(R=Red, G=Green, B=Blue).
You can see some part of the Text file in Fig.1. Comment lines are seperated from command lines
using semi-colons ";".There is also a control commmand in case there are such comment lines in an
application: UTL:READ:FILE.
11/18/2010 2:01 PM
A Visual LISP Exercise: Application That Reads Point List From a TXT...
2 of 3
http://www.dailyautocad.com/2008/12/visual-lisp-exercise-application...
Fig.3 - Sub-functionUTL:READ:FILE
11/18/2010 2:01 PM
A Visual LISP Exercise: Application That Reads Point List From a TXT...
3 of 3
http://www.dailyautocad.com/2008/12/visual-lisp-exercise-application...
11/18/2010 2:01 PM