tenbob Posted April 25, 2012 Share Posted April 25, 2012 Hi. I've been playing with the STRETCH command, but I can't get it to do what I want. Can anyone help? I have a rectangle that is the correct width (X) but the wrong height (Y). How can I stretch it so the height is exactly 200? I think I know all the features of the stretch command. I can select the right nodes using a crossing polygon and stretch it an arbitrary amount with the cursor. I can also add an exact displacement to the size it was before. The trouble is that all changes are based on the existing size. And it wasn't an exact size in the first place. So how can I set the height to exactly 200? The SCALE command is no good as it scales X and Y the same amount. The obvious work-around is to draw another rectangle the correct size on top of the old one. But that's an admission of failure. Am I missing something, or is there really no way to stretch something to an exact size? Quote Link to comment Share on other sites More sharing options...
MSasu Posted April 25, 2012 Share Posted April 25, 2012 I will draw a vertical line of 200 units starting from bottom-left corner of to-be-fixed rectangle; use later the top-left corner of rectangle and top end of line as from, respectively to points for STRETCH command. This way will get a displacement equal with diffrence between line's length and height of rectangle. Quote Link to comment Share on other sites More sharing options...
Dadgad Posted April 25, 2012 Share Posted April 25, 2012 (edited) Mircea is right, there is no way to STRETCH (with that command) something to a target dimension from an indefinite size using direct data entry. Best to create a reference as suggested, assuming that you reject creating a brand new rectangle with direct data entry. It might not be an admission of failure to redraw it, it might be better characterized as a lucid moment. Wherever you go, there you are. How many times have I wasted stupid amounts of time trying to fix something which I could more quickly have redrawn? If you have dynamic input turned on you could draw it pretty darned fast. :wink: Edited April 25, 2012 by Dadgad Quote Link to comment Share on other sites More sharing options...
Strix Posted April 25, 2012 Share Posted April 25, 2012 Is it possible to 'fix' a rectangle by editing its properties? Quote Link to comment Share on other sites More sharing options...
MSasu Posted April 25, 2012 Share Posted April 25, 2012 Once drawn, is recognized as an ordinary polyline – you can edit the Y coordinate of top points. This may be a reliable method in some cases, for sure. Quote Link to comment Share on other sites More sharing options...
mdbdesign Posted April 25, 2012 Share Posted April 25, 2012 I don't know if you using LT (Autocad LT not???) or full version. Try this small utilities (full version only) by kojacek. erec.lsp Quote Link to comment Share on other sites More sharing options...
Dadgad Posted April 25, 2012 Share Posted April 25, 2012 I should think that doing something as efficiently as possible would by definition trump an ill-conceived preconception of a clever way to do it, resulting in roundabout ways to further decrease one's efficiency, no? If it is not what you want, then fix it in the easiest way possible. Quote Link to comment Share on other sites More sharing options...
Strix Posted April 25, 2012 Share Posted April 25, 2012 Agreed - I'd redraw the thing (with input values), but I was exploring the functionality of AutoCAD Is it possible to assoc dimension it, then edit the dims? Quote Link to comment Share on other sites More sharing options...
sevdo2000 Posted April 25, 2012 Share Posted April 25, 2012 You can use "from", from the right click submenu, holding down shift. Select base point of stretch, then click rigth mouse button with holding down shift and select "from", select opposite sight of rectagle, use tracking to select direction, then type size and hit "enter". Quote Link to comment Share on other sites More sharing options...
Dadgad Posted April 25, 2012 Share Posted April 25, 2012 Agreed - I'd redraw the thing (with input values), but I was exploring the functionality of AutoCAD Is it possible to assoc dimension it, then edit the dims? A commendable aspiration, and an interesting albeit convoluted bit of conjecture for such a mundane and momentary task. I wouldn't know, don't do ASSOCIATIVE, maybe? Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 26, 2012 Share Posted April 26, 2012 Why not use constraints thats what there for just enter x & y box drawn to that size can change at any time ht can be a fixed ratio of length etc. Quote Link to comment Share on other sites More sharing options...
tenbob Posted April 26, 2012 Author Share Posted April 26, 2012 Wow. Thanks for the tremendous response. I particularly liked Dadgad's suggestion to go straight for the obvious solution. Just redraw it the correct size instead of wasting valuable time looking for an elegant way to modify what was there. But sevdo2000 has shown me the ideal way to do it using "snap from". Until today I didn't really understand this feature. From now on I plan to use it all the time. To summarise what I found, the "snap from" feature allows you to enter a point that is an exact distance from some other known point. There's not much documentation around on it that's easy to understand. This is a brief explanation. Any time Autocad wants you to enter a point you can use the "snap from" osnap. Select it by typing FRO or using the shift-right-click menu. You can then select a base point (using any other appropriate osnaps) and an offset. To enter the offset you must use the @20,30 format. If you use 20,30 it will ignore your base point and go to the absolute coordinates instead. Or you can use direct distance entry by moving the cursor in the right direction and typing a single number. Thanks for your help everybody. Quote Link to comment Share on other sites More sharing options...
Strix Posted April 26, 2012 Share Posted April 26, 2012 Glad you found a solution that suits you, AND learned something THAT'S why it's always worth discussing other options, even if the OP is answered in the very next post Quote Link to comment Share on other sites More sharing options...
dbroada Posted April 26, 2012 Share Posted April 26, 2012 Why not use constraints thats what there for just enter x & y box drawn to that size can change at any time ht can be a fixed ratio of length etc.as the OP hasn't said what version he has he may not have constraints (says somebody looking at them for the first time). Quote Link to comment Share on other sites More sharing options...
troggarf Posted April 26, 2012 Share Posted April 26, 2012 Regarding the issue of how to use the STRETCH command remember this: You use a "crossing window" so anything completely within the crossing window will be moved during the stretch command and anything that the window crosses will be stretched. Below are 2 links that demonstrate this with plenty of pictures to help clarify: STRETCH orthogonal (straight up or down - aligned with the UCS http://autocadtips.wordpress.com/2011/06/06/how-to-use-stretch/ STRETCH at an angle (not aligned with the UCS) http://autocadtips.wordpress.com/2011/09/26/how-to-use-stretch-with-an-angle/ ~Greg Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 27, 2012 Share Posted April 27, 2012 Dbroada constraints came out of inventor a long time ago the idea being rough draw something then enter true measurements plus rules and auto redrawn correct, shapes like rectangs, base plates perfect for constraints. base plate LxW 4 holes, holes are 1/4 dia from edge, corner radius 1/2 hole size change 1 hole dia all change and so on . Quote Link to comment Share on other sites More sharing options...
dbroada Posted April 27, 2012 Share Posted April 27, 2012 Dbroada constraints came out of inventor a long time ago I'm not disputing that but they didn't get to AutoCAD until after 2008 (my previous release). Since the OP is using LT and doesn't say what version there is every chance that he hasn't got them yet. I've had a look at them this week and they look brilliant - if I can find a use. 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.