### Author Topic: DynaBlock Stretch and rotate parameter... F1  (Read 1979 times)

0 Members and 1 Guest are viewing this topic.

#### akdrafter

• Guest
##### DynaBlock Stretch and rotate parameter... F1
« on: November 27, 2006, 08:15:10 PM »
Hello All,

Probably a pretty simple way to do this and no manuals to looksy at.

Simple block. Detail cut. Want to make it a dynamic block. The dynamic part would be the 1" cut line. Ability to stretch the line in 1/2" increments and also rotate the line about the center of the circle in 15 degree increments. See attached dwg.

Any help is appreciated.

Dwg AC2006

Thanks.

#### daron

• Guest
##### Re: DynaBlock Stretch and rotate parameter... F1
« Reply #1 on: November 27, 2006, 10:29:05 PM »
Use a linear parameter. Select the linear parameter and open properties, scroll to the bottom if you want to make it only work on one point of the linear parameter and change from 2 to 1. Then, under value set, set the dist type to increment, then under dist increment, set it to .5, then set a minimum and a maximum increment as you wish. Now, set an action of move or stretch or whatever will work for you into the parameter. As for the circle, it's basically the same, only this time you won't need to worry about how many points to move. Leave it as is. Also, you'll want to ensure you select all the stretch objects in the rotation action, so your stretch points will stay with the object to stretch.

FYI: If you have multiple objects that you want to manipulate with the same parameter, you can do that too. I wrote a simple tutorial here somewhere that showed how to stretch two lines in opposite directions with the same action parameter, here.

#### Dave R

• Guest
##### Re: DynaBlock Stretch and rotate parameter... F1
« Reply #2 on: November 28, 2006, 08:39:26 AM »
Try this.

Hello All,

Probably a pretty simple way to do this and no manuals to looksy at.

Simple block. Detail cut. Want to make it a dynamic block. The dynamic part would be the 1" cut line. Ability to stretch the line in 1/2" increments and also rotate the line about the center of the circle in 15 degree increments. See attached dwg.

Any help is appreciated.

Dwg AC2006

Thanks.

#### akdrafter

• Guest
##### Re: DynaBlock Stretch and rotate parameter... F1
« Reply #3 on: November 28, 2006, 05:13:26 PM »
Dave,

Works perfectly. Can you take a brief moment and explain how you did that?

Thanks.

#### akdrafter

• Guest
##### Re: DynaBlock Stretch and rotate parameter... F1
« Reply #4 on: November 28, 2006, 07:15:47 PM »
Never mind.

I figured it out. In order to rotate and stretch the same line (at different times) you have to add all the pieces of the "_____ Parameter" and the actual items (lines, circles, etc...) to the "_____ Action(s)"...

The "pieces" of the parameters(in this case)....

Linear Parameter (displays as "Distance"...initially....changable <<-- Is changable a word? hahah)

The arrowhead that indicates the point you stretch from(Linear Parameter) (I used the 2nd picked point....the end of the line) You have to actually select it

Rotation Parameter (displays as "Angle"...initially...changable)

The circle that indicates the point you pick to do the rotation(Rotation Parameter) You have to actually select it

The (p)line to be stretched or rotated

So, by adding the pieces of each parameter to each action, each parameter moves, rotates, stretches, etc... with each action.

I think.

Thanks for the insight Daron and Dave.

#### daron

• Guest
##### Re: DynaBlock Stretch and rotate parameter... F1
« Reply #5 on: November 28, 2006, 07:25:35 PM »
Glad it dawned on you as to how to do it. You're welcome.