ADAM'S_APPLE Posted August 27, 2011 Share Posted August 27, 2011 Hello, As advanced as my AutoCAD skills are I don't know how to specify the dimensions of a rectangle or square yet. Anyone know the prompts I need to follow after typing the 'rec' command in? Best Adam Quote Link to comment Share on other sites More sharing options...
ReMark Posted August 27, 2011 Share Posted August 27, 2011 Pick your start point, type "D" for dimensions and enter the appropriate values. Move your cursor to orient the rectangle in the direction you want to go. Then click. Done. Quote Link to comment Share on other sites More sharing options...
ADAM'S_APPLE Posted August 27, 2011 Author Share Posted August 27, 2011 Hi got it! think we've exchanged info before! Thanks so much again. Quote Link to comment Share on other sites More sharing options...
nestly Posted August 27, 2011 Share Posted August 27, 2011 There are a couple of other options that are a bit quicker, IMO. 1) Start the Rectangle command followed by the "@" symbol, followed by the X and Y dimensions 2) If you have Dynamic Input turned on, Start the Rectangel Command, followed by the X and Y dimensions Quote Link to comment Share on other sites More sharing options...
ReMark Posted August 27, 2011 Share Posted August 27, 2011 As nestly has pointed out there are multiple ways to draw a rectangle. If you're interested in one more take a look at this link where you see a couple of examples of custom rectangle lisp routines. http://www.cadtutor.net/forum/showthread.php?36713-Rectangle-drawing-LISP-%E2%80%93-help-needed Quote Link to comment Share on other sites More sharing options...
BIGAL Posted August 29, 2011 Share Posted August 29, 2011 Heres another variation on drawing rectangle but at an angle and with an offset chucked in as well ; draw pits with 100mm walls (setq oldsnap (getvar "osmode")) (setq oldlayer (getvar "clayer")) (command "_layer" "n" "Design-Drainage-Pits" "c" 4 "Design-Drainage-Pits" "") (setvar "clayer" "Design-Drainage-Pits") (setq length (getreal "\nPlease enter length m eg 0.9: ")) (setq width (getreal "\nPlease enter width : ")) (setq pt1 (getpoint "\npick 1st point to place pit : ")) (setq pt2 (getpoint "\nPick 2nd point for orientation")) (setvar "osmode" 0) (setq pt7 (getpoint "\Pick pt on pit side : ")) (setq ang (angle pt1 pt2)) (setq ang5 (angle pt2 pt7)) (setq diffang (- ang ang5)) (if (> diffang 1.5707) (setq ang2 (- ang 1.570796)) (setq ang2 (+ ang 1.570796)) ) (setq ang3 (+ ang 3.1415926)) (setq ang4 (- ang 1.570796)) (setq pt3 (polar pt1 ang length)) (setq pt4 (polar pt3 ang2 width)) (setq pt5 (polar pt4 ang3 length)) (command "pline" pt1 pt3 pt4 pt5 "c") (setq pt6 (polar pt1 ang 50.0)) (command "offset" 0.1 pt4 pt6 "") (setvar "osmode" oldsnap) (setvar "clayer" oldlayer) (princ) Quote Link to comment Share on other sites More sharing options...
petesperry Posted October 30, 2012 Share Posted October 30, 2012 Sorry for piggyback riding into this thread.......... We have recently installed 2012 Architecture, and I am having problems drawing rectanlges in the way mentioned in option 2 above. This is how I have always drawn them, and I find it hugely frustrating that for some reason, it is not working at present......I have dynamic input on and can enter the first dimension, then when I tab to the next one, it completly ignores it and draws a rectangle of complete random size?! Any thoughts??? I will use the rectangle, and dimension option for the time being. Thanks in advance, Spezza Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.