rcb007 Posted June 17, 2021 Share Posted June 17, 2021 I am trying to figure out how to create a dynamic block that can slide up or down? I basically have a rectangle, I want to be able to slide (stretch) the right side up or down while keeping the distance between the two corners the same. I know how to make it go one direction with the linear parameter and stretch action. thank you. Quote Link to comment Share on other sites More sharing options...
Kraken Posted June 17, 2021 Share Posted June 17, 2021 When you are in the block editor. In the "dimensional" part of the ribbon there are constraints. These will keep your object intact while using the stretch command. Quote Link to comment Share on other sites More sharing options...
rcb007 Posted June 17, 2021 Author Share Posted June 17, 2021 Interesting, I was trying to use the one parameter to move / slide it up and or down, but it only goes from the starting up and not past the starting point. Quote Link to comment Share on other sites More sharing options...
Dana W Posted June 18, 2021 Share Posted June 18, 2021 (edited) You only need a rectangle, one linear parameter and one stretch action. I say rectangle instead of lines because the corners are solid 90 deg. and already joined. it's just faster than mucking around with lines. The trick is including one side and both adjacent corners in the stretch frame. An image of the block editor and a dwg file of the block are attached. This lets the right side slide up and down while dragging the corners with it. Is that what you want to do? If this block's layer gets into a drawing, you will need to go into the block editor and move all the red lines to the layer 0 (zero). I created it on my layer named NO PLOT, which is exactly what it does. It does not plot. RECT.dwg Edited June 18, 2021 by Dana W Quote Link to comment Share on other sites More sharing options...
rcb007 Posted June 22, 2021 Author Share Posted June 22, 2021 Thank you for your help! I do have a question of why does the arrow not go past the 0,0 horizontal line. It will not let me drag it any further? Quote Link to comment Share on other sites More sharing options...
Dana W Posted June 24, 2021 Share Posted June 24, 2021 Oh, now I see what you were asking. I am not sure. I thought it was working. I'll have to experiment some more when I get home today. Quote Link to comment Share on other sites More sharing options...
Dana W Posted July 9, 2021 Share Posted July 9, 2021 Sorry, I have not been back to this yet. Time at my part time retired job is really short. Quote Link to comment Share on other sites More sharing options...
rcb007 Posted July 12, 2021 Author Share Posted July 12, 2021 Hey Not a problem! Quote Link to comment Share on other sites More sharing options...
Dana W Posted July 16, 2021 Share Posted July 16, 2021 How about this. All I could come up with was adding a flip action so you can pull it the other way when you need to. I know it's another click but ... >shrug< Simply mirroring the whole block doesn't work either. Apparently, one cannot stretch a distance parameter past its own zero length. I'm not thinking far enough outside the box. RECT.dwg Quote Link to comment Share on other sites More sharing options...
SLW210 Posted July 16, 2021 Share Posted July 16, 2021 Can you post what you have so far? Maybe see about just using parallel constraints, might not even need it to be a block. What is the intended use of the block? Quote Link to comment Share on other sites More sharing options...
danellis Posted July 16, 2021 Share Posted July 16, 2021 Don't stretch a distance, stretch a point dJE stretch.dwg Quote Link to comment Share on other sites More sharing options...
Dana W Posted July 18, 2021 Share Posted July 18, 2021 Wow, that easy? Where's the facepalm Imogi when you need him? Could add constraints to hold the width, I guess. Quote Link to comment Share on other sites More sharing options...
danellis Posted July 20, 2021 Share Posted July 20, 2021 Guess you could do, if so desired. My understanding is that constraints don't play very well with dynamic blocks. dJE Quote Link to comment Share on other sites More sharing options...
Dana W Posted July 25, 2021 Share Posted July 25, 2021 Then include a horizontal stretch for precise distance control. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.