Dynamic block with "sliders"

Dynamic block with "sliders"

trioux_corentin
Explorer Explorer
890 Views
15 Replies
Message 1 of 16

Dynamic block with "sliders"

trioux_corentin
Explorer
Explorer

Hello, 

 

I am trying to create a dynamic block with variable lenght and "sliders" in the middle. I am using a bunch of stretch commands, but my problem is that when used, the block can easily be broken by having the sliders override each others. Is there a better tool I can use, or a way to prevent the sliders from colliding with each others ?

 

PS : This is my first post, please inform me of any problem with it.

Accepted solutions (2)
891 Views
15 Replies
Replies (15)
Message 2 of 16

timothy_crouse
Collaborator
Collaborator
If you share the block it will be easier to help

Best Regards
-Tim C.
0 Likes
Message 3 of 16

trioux_corentin
Explorer
Explorer

I should have posted it right away my bad. Here it is with an exemple of what I don't want in use.

0 Likes
Message 4 of 16

h_s_walker
Mentor
Mentor

Why not move B-C so it's in the middle. I know it is not visually nice, but at least it won't interfere with A-B or C-D

Howard Walker
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


Left Handed and Proud

0 Likes
Message 5 of 16

trioux_corentin
Explorer
Explorer

I'm sorry I don't get what you mean. How can I move B-C to the middle ? I should specify that I would like to add or remove sliders as needed maybe.

0 Likes
Message 6 of 16

j.palmeL29YX
Mentor
Mentor
Accepted solution

Test the attached attempt.  

 

 

 

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 7 of 16

h_s_walker
Mentor
Mentor

Move the grips for B-C so they are in the middle of the vertical lines that they stretch.

Howard Walker
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


Left Handed and Proud

0 Likes
Message 8 of 16

trioux_corentin
Explorer
Explorer

This is really great thank you ! I'll look into constraints right away (I never really used them)

 

0 Likes
Message 9 of 16

trioux_corentin
Explorer
Explorer

How did you do the parameter with a yellow lock that can't be seen ? there are two of them and they have formula as expression

0 Likes
Message 10 of 16

j.palmeL29YX
Mentor
Mentor

@trioux_corentin wrote:

How did you do the parameter with a yellow lock that can't be seen ? there are two of them and they have formula as expression


 

First: Here attached an improved version. (the first attempt was still buggy). 

To your question: I will create a video to show you what I did. This will take a while, I will coming back ASAP. 

 

 

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 11 of 16

j.palmeL29YX
Mentor
Mentor
Accepted solution

Here now the promised Video. 

I tried to show the procedure as detailed as possible, so you can follow and understand what I did. In practice I would simplify some steps, but I think this way you can better understand how it works. 

>>Slider_3<<

If you have further questions, please ask.

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 12 of 16

trioux_corentin
Explorer
Explorer

Well first of all, Thank you VERY much for your time and dedication !! The video helped a lot, as I am mostly self taught in autocad, and never used dimensional parameters before.

If I may ask, the only thing I don't really understand is the difference between the yellow and the blue paramter, AKA the one found in "paramtertric" tab vs the one found in "block editor"  tab 

 

PS : there are probably gramatical errors in my posts, sorry I am not native english

0 Likes
Message 13 of 16

trioux_corentin
Explorer
Explorer

Ok I think I understand now (should have tested before asking)

The yellow one can have formulas and don't have handle. The blue ones are the opposite of that.

Is that correct or am I missing something ?

0 Likes
Message 14 of 16

j.palmeL29YX
Mentor
Mentor

Assuming you want to draw a geometry as shown in the attached image (two arc's, tangentially connected with two lines). Do it (for testing) with the usually common AutoCAD commands. 

And now change the distance 10 to 25 (e.g. using the stretch command). You will have to repair some  destroyed geometry. And/or change one or both of the radii. What a lot of work is needed each time to get the correct result. 

 

Now we do it using the power of Parametric:  

>>Video<< 

 

[EDIT]: Spelling error. At 7:45 it must be BCPARAMETR command

 

 

HTH

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 15 of 16

trioux_corentin
Explorer
Explorer

Wow, you sir, are epic. Thank you very much. I've spent hours learning on my  own and surching videos and tutos, but asking on this forum (and thus, your answers) have been by far the best solutions and explanations I got. Plus your videos show a few neat tricks I'll be sure to use. A thousand thanks, truly.

Such help might be normal for you, but it's a first for me and I am amazed.

0 Likes
Message 16 of 16

j.palmeL29YX
Mentor
Mentor

THX  😉

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