Introduction
AutoCad is the most widely used CAD program with A to Z instruments for producing any kind of precise drawings. But in some personalized drawing environments some tasks will feel tedious as it will involve calling a series of AutCad commands.
This package contains 3 lisp files that can be used as Applications along with AutoCad R13 or R14 which will help in making ordinary building drawings.
1. open.lsp:
While making a simple 2D building drawing, to make openings one has to invoke a series of commands as .2point break.. select the object .. press F for first point ...pick first point...pick the second point precisely.. then text.. size.. Angle..Text..and so on. In the case of making windows in the drawing, the process will be more tedious. The file open.lsp can be used for simplifying all these tasks. Just copy the file in any directory. Using "Tools" menu .."Load applications". load this file and type the commands for the the task. Openings can be provided in walls drawn with Plines
Task | Command |
Door in Horizontal wall | hd |
Door in Vertical wall. | vd |
Window in Horizontal wall at Bottom. | whb |
Window in Horizontal wall at Top. | wht |
Window in Vertical wall on Left. | wvl |
Window in Vertical wall on Right. | wvr |
In your Autocad drawing session, From Tools Menu -Load application - Broiwse - select the directory where you have copied the file open.lsp select the file open.lsp click open. .In the Load application dialog box select the file and click "load". Watch the Autocad Command line. Type the command you want to execute. After typing the respective command in the command line, follow the prompts. and see how easy it is.
Procedure for Door Horizontal or Door vertical
Command |
Prompt |
Input |
hd / vd |
Please select the wall to make door Horizontal / vertical | Pick the edge of the Pline wall ..Hit Enter |
Pick the starting point of the door | Pick the bottom edge of the Pline where to start the door..Hit Enter | |
Please enter the width of the door | Enter the width of the door you want to make.. Hit Enter | |
Name of the Door | Give a name for the door you made..Hit enter | |
Before making the openings it is better to add two new layers "WALLS" and "ANOTATION" to the drawing file. |
Procedure is almost similar for other command also which you may try yourselves...
Notes:
The above lisp file is written for walls made with Pline walls 0.20 wide in Metric decimal units . If your wall is of other units you may edit and change The values of "width of wall", "text size" etc, especially when making windows. You may give 2 different colors to these layers for displaying the Walls and texts in different colors.
While making Door Horizontal make sure to pick in the bottom edge of the Pline for "Starting Point of door."
While making windows make sure to pick in the outer edge of the Pline for Starting point (i.e. top edge for wht, bottom edge for whb, Left edge for wvl and right edge for wvr )