Message 1 of 13

Not applicable
06-22-2017
06:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So currently I am attempting to create a routine to allow the user to automatically draw the walls for a floorplan with the option of after every wall drawn the user can choose to draw another one and this will continue until the user says no. I have started the routine, but am a little stuck as i cannot find anywhere what the arguments for the offset command are. I also cannot figure out how I get the line to draw the direction i want it to go
I have the bare bones of the routine (Yes I know I have arguments missing from command line) (at some point in the routine i'm going to add a fillet command for the inner walls)
thanks in advance
; The purpose of this program is to allow the user to enter/pick dimensions of a floor plan ; and have it drawn for them (defun C:wall(/ choice ip Lwall ang off) (setq choice "Yes") (while (= choice "Yes") (setq ip (getpoint "\nPlease select an insertion point: ")) (setq Lwall (getdist "\nPlease enter/choose the distance for the wall: ")) (setq ang (getangle "\nWhat angle would you like the wall to be at?: ")) (command "Line" ) (setq off (getdist "\nHow thick is this wall?: ")) (command "_offset" off ) (initget 1 "Yes No") (setq choice (getkword "\nWould you like to draw another wall? [Yes/No]: ")) ) )
Solved! Go to Solution.