Dynamic block distance formula

Dynamic block distance formula

Anonymous
Not applicable
5,689 Views
4 Replies
Message 1 of 5

Dynamic block distance formula

Anonymous
Not applicable

Hi everyone!

 

Please look at the picture

Dinblock.png

This is a dynamic block.

The goal is, by the grip changing length of the block (it changes length by 1-2-3) move the red circle half a length (0.5-1-1.5).

Of cause I could use a Look-up table, but I don't want - I want to use only grip marked in green circle, since it is much more comprehensive for a user to use this grip (he will see at once the length change) rather then drop down look-up list.

If it was AutoCad 2010+, I'd go for a block property table, but I'm using Acad 2006, there is no such a function in it.

Chain dimension will move the red point the same distance only, but I need a half.

So I just need to simultaneously with use of one grip stretch the block by X distance and move red circle by X/2 distance. No look-ups, no block properties tables. 

 

Fig.1 - start position (in the attached file 0.5 is a start position)

Fig.2 - it is how it works.

Fig.3 - it is how it showld work.

 

Any ideas?

The file is attached.

 

0 Likes
Accepted solutions (1)
5,690 Views
4 Replies
Replies (4)
Message 2 of 5

steven-g
Mentor
Mentor
Accepted solution

In the block editor, you have the red circle controlled by a move action, if you highlight this move action and look in the properties palette, and find "distance multiplier" change the value =0.5, and that should fix your problem.

0 Likes
Message 3 of 5

Anonymous
Not applicable

Steven-g,

Wow! You've really helped me a lot! Distance multiplier, that's what I didn't know about dinamic blocks! It helps out not only in this particular example, but in many more!

Really, really, really thanks!!!

0 Likes
Message 4 of 5

steven-g
Mentor
Mentor

You're welcome, and if you don't already know the other one in the properties palette, take a look at the "angle offset", I use those 2 a lot.

0 Likes
Message 5 of 5

Anonymous
Not applicable

Thanks Steven,

I got the idea that some actions might have distance multipliers. Very useful thing indeed.

So in my example I put multiplier to middle distance move, and chained it to stretch action to full distance. Works as charm! Just before that I'd come all over the properties of the distance, but wasn't clever enough to look into action itself. As it is said - live and learn!

Thanks again!

0 Likes