+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
  1. #1
    Forum Newbie
    Using
    AutoCAD LT not applicable
    Join Date
    Apr 2012
    Posts
    2

    Default Stretch rectangle to exact size

    Registered forum members do not see this ad.

    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?

  2. #2
    Forum Deity MSasu's Avatar
    Discipline
    Construction
    MSasu's Discipline Details
    Occupation
    engineer
    Discipline
    Construction
    Details
    AutoLISP programmer
    Using
    AutoCAD 2013
    Join Date
    Mar 2009
    Location
    Brasov, Romania
    Posts
    3,007

    Default

    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.
    Regards,
    Mircea

    AutoCAD's happy user equation: FILEDIA + PICKADD² + PICKFIRST = 3

  3. #3
    Forum Deity Dadgad's Avatar
    Using
    AutoCAD 2012
    Join Date
    Nov 2011
    Location
    At the confluence of worthlessness & invaluability
    Posts
    3,135

    Default

    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.
    Last edited by Dadgad; 25th Apr 2012 at 01:29 pm.
    Volume and repetition do not validate opinions forged in the absence of thought.

  4. #4
    Super Moderator Strix's Avatar
    Using
    not applicable
    Join Date
    Nov 2005
    Location
    Sheffield UK
    Posts
    3,074

    Default

    Is it possible to 'fix' a rectangle by editing its properties?
    Find your new best friend at Rain Rescue

    If you are a good drafter, tech will help. If you are a bad drafter, nothing will help. - Jack_O'neill at CADTutor

  5. #5
    Forum Deity MSasu's Avatar
    Discipline
    Construction
    MSasu's Discipline Details
    Occupation
    engineer
    Discipline
    Construction
    Details
    AutoLISP programmer
    Using
    AutoCAD 2013
    Join Date
    Mar 2009
    Location
    Brasov, Romania
    Posts
    3,007

    Default

    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.
    Regards,
    Mircea

    AutoCAD's happy user equation: FILEDIA + PICKADD² + PICKFIRST = 3

  6. #6
    Super Member mdbdesign's Avatar
    Computer Details
    mdbdesign's Computer Details
    Operating System:
    XP PRO
    Computer:
    Homemade
    Motherboard:
    GIGABYTE G31M-ES2L
    CPU:
    INTEL CORE 2-QUAD-Q6600@2.4GHz
    RAM:
    4 GB
    Graphics:
    NVIDIA GeForce 9800 gt 1gb
    Primary Storage:
    WESTERN DIGITAL 500GB
    Monitor:
    2 - 21" COMPACQ
    Discipline
    Mechanical
    mdbdesign's Discipline Details
    Occupation
    Designing Engineer in Engineering Department
    Discipline
    Mechanical
    Details
    Pressure tanks Oil processing & storage equip. Steel mill equip. Telecom towers & equip. Wind turbine towers Power plant structures etc.
    Using
    AutoCAD 2012
    Join Date
    Jan 2007
    Location
    Courtice, Ontario, Canada
    Posts
    749

    Default

    I don't know if you using LT (Autocad LT not???) or full version.
    Try this small utilities (full version only) by kojacek.
    Attached Files
    Marek

  7. #7
    Forum Deity Dadgad's Avatar
    Using
    AutoCAD 2012
    Join Date
    Nov 2011
    Location
    At the confluence of worthlessness & invaluability
    Posts
    3,135

    Default

    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.
    Volume and repetition do not validate opinions forged in the absence of thought.

  8. #8
    Super Moderator Strix's Avatar
    Using
    not applicable
    Join Date
    Nov 2005
    Location
    Sheffield UK
    Posts
    3,074

    Default

    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?
    Find your new best friend at Rain Rescue

    If you are a good drafter, tech will help. If you are a bad drafter, nothing will help. - Jack_O'neill at CADTutor

  9. #9
    Senior Member
    Computer Details
    sevdo2000's Computer Details
    Operating System:
    Windows XP x86
    Motherboard:
    Asrock NF5 Alive
    CPU:
    Athlon 6000+ X2
    RAM:
    4GB 800 MHZ
    Graphics:
    GF 8800 GT
    Primary Storage:
    250GB Seagate
    Monitor:
    LG 22"
    Using
    AutoCAD 2010
    Join Date
    Mar 2008
    Posts
    100

    Default

    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".

  10. #10
    Forum Deity Dadgad's Avatar
    Using
    AutoCAD 2012
    Join Date
    Nov 2011
    Location
    At the confluence of worthlessness & invaluability
    Posts
    3,135

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by Strix View Post
    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?
    Volume and repetition do not validate opinions forged in the absence of thought.

Similar Threads

  1. How do you stretch a rectangle??
    By garlei in forum AutoCAD Beginners' Area
    Replies: 8
    Last Post: 6th Oct 2010, 07:34 pm
  2. Stretch rectangle around attribute?
    By markv in forum AutoCAD Drawing Management & Output
    Replies: 5
    Last Post: 6th Apr 2010, 08:25 am
  3. Stretch Rectangle Proportionally
    By Brunello19 in forum AutoCAD Drawing Management & Output
    Replies: 1
    Last Post: 26th Dec 2007, 03:02 pm
  4. Can I stretch a rectangle...?
    By scope in forum AutoCAD General
    Replies: 1
    Last Post: 11th Mar 2006, 03:09 am
  5. Stretch Rectangle Proportionally
    By Brunello19 in forum AutoLISP, Visual LISP & DCL
    Replies: 18
    Last Post: 21st Dec 2005, 10:10 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts