Creating a sliding door block that will slide incrementally

Creating a sliding door block that will slide incrementally

jthorntonA9MAE
Participant Participant
927 Views
6 Replies
Message 1 of 7

Creating a sliding door block that will slide incrementally

jthorntonA9MAE
Participant
Participant

I have created a dynamic block of a barn door that will stretch from 2'-0" to 6'-0". 

 

Now I would like to move (slide) the door panel from a fully open position to a fully closed at 1" increments. 

 

Looking for input on what steps I need take to get there ... and/or an example 

 

I have include the block I am wanting to apply this function

 

jthorntonA9MAE_0-1680188687936.png

 

0 Likes
928 Views
6 Replies
Replies (6)
Message 2 of 7

h_s_walker
Mentor
Mentor

See the attached image for the settings you need to modify

Capture.JPG

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

jthorntonA9MAE
Participant
Participant

I know how to apply increments, but I want to apply an action to the door panel. 

 

jthorntonA9MAE_0-1680194609669.png

 

The column to the left illustrates how I am able to slide the door panel to a closed position, but in the right column you can see when I stretch the door opening / panel size, that the grip on the door panel is not longer in the same relationship as on the left ... 

 

I need the "Slider" Length to increase as the Opening Length increases 1:1, so the grip stay in the same position

 

jthorntonA9MAE_1-1680194965390.png

 

 

 

0 Likes
Message 4 of 7

dmfrazier
Advisor
Advisor

Looking at your barn door 1 block, try including the Slider parameter in the action selection set for the Stretch2 action.

0 Likes
Message 5 of 7

jthorntonA9MAE
Participant
Participant

I fixed the issue as it was shown below.  The Grip on the Door Panel was not staying on the end of the panel, but was maintaining the what would have been location of the grid on the 2'-0" wide door .. .

 

jthorntonA9MAE_0-1680211004262.png

I changed the chain action to NO. ... 

 

jthorntonA9MAE_1-1680211138610.png

I also modified my selection to confirm that Stretch 1 is apart of Stretch 2 ... 

 

I was able to achieve the visual outcome ... 

jthorntonA9MAE_2-1680211658884.png

 

Column 2 ... 

jthorntonA9MAE_3-1680211751504.png

 

Column 3 ... I reset the block to see outcome ... Door Panels out of bounds 

Column 4 ... I stretched the Doors all to the open position

Column 5 ... I stretched the Door Opening ... 

... note the only way I can achieve the full open Door panel (col 6 / top row) ... 

 

jthorntonA9MAE_4-1680211835062.png

 

the only way to get the largest door panel in the open position is to reset to the smallest door in the open position (col 7 )  and then stretch to the largest door panel in the fully open position ... (col 8 / top row ) .. 

 

jthorntonA9MAE_5-1680212359093.png

 

Note .. the moment I stretch the door to the right ... it will go to the original grip location ... 

jthorntonA9MAE_6-1680212507840.png

The block is maybe a 7/10 ... but glitches just don't help the users ... 

perhaps if I start with the largest block ... then I will have incremental control in this currently undefined area ...  

 

 

 

 

 

 

 

 

0 Likes
Message 6 of 7

h_s_walker
Mentor
Mentor

If you have full AutoCAD, it seems to me that you would be better off using constraints, as slider needs to change it's max distance so the door won't "slide" past the end of it.

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

jthorntonA9MAE
Participant
Participant

I have never used constraints, but that may be the more appropriate tool ... 

 

thank you 

0 Likes