In this AutoLISP Programming Video Tutorials - 3, creation of a AutoLISP program to draw rectangle is shown. AutoLISP functions covered in this video are setq, getint, getpoint & polar.
Rectangle width & height is obtained using getint function. Rectangle lower left corner is obtained using getpoint function. Remaining three points required for creation of rectangle is obtained using polar function. Rectangle is created using Command function with Line Command. Program is saved, loaded & working is shown in AutoCAD. Download pdf file for this lecture & solve the exercises given in it to test you knowledge gained from this video. Download Rect.LSP program file.
Rectangle width & height is obtained using getint function. Rectangle lower left corner is obtained using getpoint function. Remaining three points required for creation of rectangle is obtained using polar function. Rectangle is created using Command function with Line Command. Program is saved, loaded & working is shown in AutoCAD. Download pdf file for this lecture & solve the exercises given in it to test you knowledge gained from this video. Download Rect.LSP program file.
Comments