Community
Dynamic Blocks Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynamic Block: Stretch in BOTH directions

20 REPLIES 20
SOLVED
Reply
Message 1 of 21
Anonymous
36841 Views, 20 Replies

Dynamic Block: Stretch in BOTH directions

Is it possible to have a dynamic block stretch in both directions based on a center point? If so, how?

Thanks in advance.
20 REPLIES 20
Message 2 of 21
Anonymous
in reply to: Anonymous

use 2 stretch actions but in properies make it stretch in the opposite direction
Message 3 of 21
Anonymous
in reply to: Anonymous

you would probably want to post this in the dynamic block group


pat
Message 4 of 21
Anonymous
in reply to: Anonymous

2 linear parameters, 1 grip on one, no grips on the other, chain
actions=yes, show=no
2 stretch actions, 2nd stretch action set angle offset to 180

Matt
Tags (1)
Message 5 of 21
Anonymous
in reply to: Anonymous

Overkill alert! 🙂 How about one linear parameter, set base to Midpoint.
Two stretch actions, either associated with the same end and one with angle
offset of 180, or associated one to each end of the linear parameter.

"Matt Kolberg" wrote in message
news:5511164@discussion.autodesk.com...
2 linear parameters, 1 grip on one, no grips on the other, chain
actions=yes, show=no
2 stretch actions, 2nd stretch action set angle offset to 180

Matt
Message 6 of 21
Anonymous
in reply to: Anonymous

Yours is certainly the better solution on retrospect.

Matt
Message 7 of 21
Anonymous
in reply to: Anonymous

I just try to avoid chaining parameters whenever possible. Too complicated.
:-)

"Matt Kolberg" wrote in message
news:5512756@discussion.autodesk.com...
Yours is certainly the better solution on retrospect.

Matt
Message 8 of 21
Anonymous
in reply to: Anonymous

I don't like chaining dimensions, cause it never works the way I need or
want it to. In fact, it just doesn't work period for me.

--
Brian MacDonald


"Kate M" wrote in message
news:5513524@discussion.autodesk.com...
I just try to avoid chaining parameters whenever possible. Too complicated.
:-)

"Matt Kolberg" wrote in message
news:5512756@discussion.autodesk.com...
Yours is certainly the better solution on retrospect.

Matt
Message 9 of 21
Anonymous
in reply to: Anonymous

Hi Matt,
I have been following "stretching from the midpoint." I have been trying to develop a window block that would stretch from the midpoint. Your approach works exactly the way I would like mine to. (There is some kind of bug in AutoCAD 2007 that prevents me from accurately using the midpoint instead of startpoint for a stretch.) I developed a block comparing what you have done. I am attaching the dwg for you to look at. I know I am missing something simple. If you could look at it I would greatly appreciate it. Mel
Message 10 of 21
Anonymous
in reply to: Anonymous

Picture a Kitchen Cabinet front to stretch. 1 Linear parameter @ width of cabinet. 1 stretch with distance mult .5 1 stretch with DM .5 & Angle offset 180. this moves the sides. 1 Move DM .25 1 Move DM.25 AO 180. This move handles and door details. Nothing chained
Message 11 of 21
Anonymous
in reply to: Anonymous

All,

 

I am trying to stretch in three directions, I have tried using chain actions but to no avail.

I have attached my attempted block, all I want to do is stretch one distance and have that stretch action work with the two chained distances to make a uniform stretch. i.e. all the distances will be that same length, but at the moment my stretch is just stretching the chain actions in the same direction as the primary stretch rather than stretching each uniformly outwards.

 

I hope I have made enough sense for someone to provide me with a solution.

 

Any help is much appreciated.

 

Warm Regards,

Shaun

 

 

Message 12 of 21
Anonymous
in reply to: Anonymous

Shaun,

 

I'm a little late on an answer, but for posterity, you would use one distance parameter and three stretch actions.  I used the distance going from the center to the top leg.  Then did a stretch action of that leg.  Then did a stretch action of the lower left leg, referencing the same distance parameter.  But I changed the rotation angle to 120.  Then I did a stretch action on the lower right leg and changed its angle to 240.  Works like a charm.  I've uploaded your file with the changes I made, although I'm sure you solved it long ago.

 

Bill

Message 13 of 21
ndawsonmccann
in reply to: Anonymous

I got this to work after several attempts. There are a few extra notes I added to the steps.

 

The left stretch action without the grip should have (Show Properties = No) and (Chain Actions = Yes) (Angle = 180). This action should show (Selection set = 1 objects).

 

The right stretch action with the grip should have (Show Properties = Yes) and (Chain Actions = No) (Angle = 0). This action should show (Selection set = 3 objects).

 

-Nick

Message 14 of 21
CathyHarron
in reply to: ndawsonmccann

"One linear parameter, set base to Midpoint, two stretch actions" - Wow.... This was exactly what I needed! 🙂 I just didn't think of putting 2 actions to the same parameter! That's brilliant! 🙂 I've put parameters and actions inside other parameters and actions but... my shortsightedness was to not think of putting two actions to the same parameter! You've opened up a whole new world for me! Thanks a bundle!!

Message 15 of 21
Emmsleys
in reply to: CathyHarron

Thanks for posting back in thread to validate that one of the post's helped resolve your issue. I don't think the OP will come back to the thread so I can go ahead and mark @ ndawson post. 

 

 

 

 



Sarah Emmsley
Technical Support Specialist

Message 16 of 21
Anonymous
in reply to: Anonymous

You can also do as below method 

Add 1 Linear Parameter with 2 grips, Change parameter settings in properties/Misc = (Base Location = Midpoint)

add 2 Stretch action on both ends. it will works fine 

see the attached file  

Message 17 of 21
Libbya
in reply to: ndawsonmccann


@ndawsonmccann wrote:

I got this to work after several attempts. There are a few extra notes I added to the steps.

 

The left stretch action without the grip should have (Show Properties = No) and (Chain Actions = Yes) (Angle = 180). This action should show (Selection set = 1 objects).

 

The right stretch action with the grip should have (Show Properties = Yes) and (Chain Actions = No) (Angle = 0). This action should show (Selection set = 3 objects).

 

-Nick


That's silly complicated.  Don't chain anything.  Don't mess with the angle offsets or distance modifiers.

 

Linear parameter with base point mid and a stretch on each endpoint.  Done.  

Message 18 of 21
Anonymous
in reply to: Anonymous

this is a perfect solution to the question at hand

Message 19 of 21
thomas
in reply to: Anonymous

Would you have a DWG example of this? For the life of me I can't recreate it

Message 20 of 21
Libbya
in reply to: thomas

Thomas, rather than asking someone else to come up with an example DWG to post, it might be better for you to post your block attempt and others could let you know how to correct it.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta