Object in Dynamic Block should be stretch equally but on 400 or less

Object in Dynamic Block should be stretch equally but on 400 or less

Anonymous
Not applicable
4,802 Views
61 Replies
Message 1 of 62

Object in Dynamic Block should be stretch equally but on 400 or less

Anonymous
Not applicable

I am learning dynamic block & i have attached here one dynamic block & mentioned in that what kind of action, constraint  i need in that block. please guide me.

When i stretch this block, i want to all holes between first hole and last hole are in equally divide but distance between two holes should be 400 or less than 400.

Please see uploaded cad file for details.

Please help me out from this.

0 Likes
4,803 Views
61 Replies
Replies (61)
Message 2 of 62

Anonymous
Not applicable

Limits for block sizes are 

 

Minimum 500mm & Maximum 5000mm

0 Likes
Message 3 of 62

j.palmeL29YX
Mentor
Mentor

Why two thread for the same problem/question?

Please mark one of the threads as closed.

If you want to continie here - tell us please which AutoCAD version do you use?

 

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 4 of 62

Anonymous
Not applicable

Autocad 2020

0 Likes
Message 5 of 62

ojuris
Advisor
Advisor
Accepted solution

something like that - see attached

Message 6 of 62

Anonymous
Not applicable

Thank You very much....

Really many thanks for idea.

Could you tell me process for this. its very helpful to me.

can you share this information by video or snapshot.etc.

0 Likes
Message 7 of 62

ojuris
Advisor
Advisor
  1. add sets of holes (1, 2, 3 ... 12) between first and last holes
  2. add Move actions with correct Distance multiplier for each middle holes
  3. create Visibility states for each set of holes
  4. create Double Lookup to manage Visibility states by Distance1 parameter
0 Likes
Message 8 of 62

Anonymous
Not applicable

COULD YOU PROVIDE ME ANY TUTORIAL GUIDE FOR THIS TYPE OF WORK

0 Likes
Message 9 of 62

Anonymous
Not applicable

Thanks,

It's very helpful to me.

0 Likes
Message 10 of 62

j.palmeL29YX
Mentor
Mentor
Accepted solution

The attached dwg file includes another possibility (Block "A CARD - param").

I solved the issue using Parameric Constraints. The lines at X1 and M2 I ignored, because I don't know what you want to do with this (until now you can free move the lines). Also the dimension objects are not yet included.

The advantage of this method - there are no limitations for the block dimensions. If you are sure 5000 is the max. value then is the suggestion of @ojuris a great job.

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 11 of 62

ojuris
Advisor
Advisor

Great job

I don't like constraints and I use them rarely

 

In your block you must correct formula in arrays to get correct dimensions between holes - see attached

Message 12 of 62

j.palmeL29YX
Mentor
Mentor

@ojuris wrote:

 

In your block you must correct formula ...


You're right. Thank you @ojuris .

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 13 of 62

ojuris
Advisor
Advisor
Accepted solution

I make screencast how to make block

 

 

Message 14 of 62

Anonymous
Not applicable

Hi, 

Many Thanks.

Could you provide me screen-cast for this, it will be very helpful to learn this thing to me.

 

0 Likes
Message 15 of 62

Anonymous
Not applicable

Hi Sir,

As per your video we have tried to make same process for my practice , but unfortunately i am facing some issue (unable to find my mistakes). Please see attached file and guide me where i have made mistakes in this.

Please guide me sir.

0 Likes
Message 16 of 62

ojuris
Advisor
Advisor

What are you try to do?

Do you try do that in both directions? If that than you must create 13 × 13 = 169 visibilities

 

In block Linear parameter DH1 make chained (in Properties palette switch Chain actions to Yes)

Message 17 of 62

Anonymous
Not applicable

Yes, i am trying to do both side, but now i am doing for DH1 & unable to find out mistake. I have checked with chain option "YES". But still i am facing some problem. Please see block & guide me.

0 Likes
Message 18 of 62

ojuris
Advisor
Advisor

You must add move actions to holes on detail (1/7 ; 2/7 ...).

Now you add move actions only for the holes below detail.

 

You must switch ON or OFF visibility for each hole in each visibility (for example in 7 visibility you must see only holes on detail, in 6 visibility only holes in 6 row etc)

0 Likes
Message 19 of 62

j.palmeL29YX
Mentor
Mentor
Accepted solution

@ojuris wrote:

 

If that than you must create 13 × 13 = 169 visibilities

 


 

Now at the latest I feel compelled ( 😉 ) to show a screencast how you can solve the problem using paramteric constraints and dimensions. ( @Anonymous asked above). I know, many users here don't like to work with parametric. But I don't want to think about the huge amount of work if you perhaps later want or or have to change the max distance to another value than 400 or want to change the distances at the ends (current 25). With this parametric method you only need to change the value of the relevant parameter and - ready.

Here you find the videos >>A-Card (Part 1)<< and >>A Card (Part 2)<<.

The lines at X1 and M2 I ignored again. I don't know what you want to do with them. I guess you can add the necessary constraints and/or dimensions yourself to achieve the desired result. And also I don't know where you need the base point. Move the complete geometry in the block editor to the correct position.

At the end you can add (not shown in the video) the dimensions you want to see in the Block references. Before that you must set DIMASSOC to 2, then use DIMLIN or what you like to create the dimensions . A sample result is shown in the attached dwg.

(Of course this method with parametric also has its disadvantages. If you find some tell us, perhaps we can solve this too).

 

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 20 of 62

Anonymous
Not applicable

Hi,

This is really great & i have tried it . Thanks,

Please see attached cad file for my questions, I have mentioned my queries in that file & please help & guide me.

0 Likes