drafting3 Posted May 22, 2013 Posted May 22, 2013 Hey all, I was wondering if it is possible to use dynamic blocks to stretch a rectangle evenly, using only 1 point? I have attached a PDF of a rectangle with 2 lines coming out of each side (before & after picture). I want to use dynamic blocks to pick a point at the top right of the block, so that when I pull it out, the lines will extend, but stay attached to the rectangle. I also what the rectangle to stay in the center at all times. If you can understand, please help! Is this possible? Block Stretching.pdf Quote
edwinprakoso Posted May 22, 2013 Posted May 22, 2013 You can add 2 actions for 1 parameter. You may want to read this: http://cad-notes.com/2009/08/dynamic-block-tutorial-3-creating-door/ Read adding action section, no 1-3. And for keeping the center, you need to place insertion point at center. Read this for example: http://cad-notes.com/2009/08/dynamic-block-tutorial-2-creating-column/ Quote
drafting3 Posted May 22, 2013 Author Posted May 22, 2013 Hi edwinprakoso, Thank you but this does not work for what I want. I must have the insertion point at the bottom left corner of the entire block. Because I am using AutoCAD Lite, I am unable to use constraints of any kind. Do you know if there a way of making what I want happen? Quote
dbroada Posted May 22, 2013 Posted May 22, 2013 expanding on what Edwin has said, you need one paraameter and MANY actions. I would have a 100% stretch on the top edge of the vertical lines and a 100% stretch on the right edge of the horizontal lines. After that I would add a 50% stretch around the box vertically and a 50% stretch around the box horizontally. As I haven't got constraints clear in my head that should give you what you want. Quote
ReMark Posted May 22, 2013 Posted May 22, 2013 I have a parametric rectangle that can be size adjusted by stretching one corner. Is that what you are looking for? Quote
Dadgad Posted May 22, 2013 Posted May 22, 2013 I have a parametric rectangle that can be size adjusted by stretching one corner. Is that what you are looking for? That sounds like just the ticket. Quote
drafting3 Posted May 22, 2013 Author Posted May 22, 2013 Hi dbroada, I can't believe I did't think of that.. It works perfectly! I had spent hours stuffing around with the polar stretch and coming to no conclusion. I used to use a horizontal linear parameter with a pick point at the bottom right of the block, and a vertical linear parameter at the top right.. I can't believe that I didn't think of overlapping the pick points! Like Homer Simpson once said: "By typing 'Y' instead of 'Yes' I've tripled my productivity!" Well sir, you have helped me double my productivity! Thank you! Quote
dbroada Posted May 23, 2013 Posted May 23, 2013 I think it might be possible to use a point rather than 2 distances but it worked so I stopped trying. Quote
neophoible Posted May 23, 2013 Posted May 23, 2013 Hi edwinprakoso, Thank you but this does not work for what I want. I must have the insertion point at the bottom left corner of the entire block. Because I am using AutoCAD Lite, I am unable to use constraints of any kind. Do you know if there a way of making what I want happen? So, after seeing the accepted solution, it looks to me like this reply was in error. I am missing something here? Quote
SLW210 Posted May 23, 2013 Posted May 23, 2013 So, after seeing the accepted solution, it looks to me like this reply was in error. I am missing something here? The solution did not use constraints. Quote
neophoible Posted May 23, 2013 Posted May 23, 2013 The solution did not use constraints.OK. But it did not look to me like Edwin's solution needed them either, and Edwin only mentioned actions and parameters in his comments, not constraints. Quote
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.