Jump to content
jakethebeck

Dynamic blocks - Is this possible?

Recommended Posts

jakethebeck

I have 2 lines, 1 is vertical and the other is at a 45 degree angle to it. I have a stretch action on the line at 45 deg. What I'm trying to achieve is when the 45 deg line is stretched, I want the vertical line to also stretch but not with the same distance multiplier; The 2 lines must have the same X coordinates.

 

I'm nearly there, I have a distance multiplier of 0.7071 on a stretch action for the vertical line.

 

I got 0.7071 from (1 / sqrtr(2)) .. The problem with this is autocad rounds to 4 decimal places, so when i stretch over a great distance the lines are not perfectly on the same x coordinate.

 

Does anybody know of an easier way to achieve this? Maybe a way to copy the 'End X' property to another line? I've searched extensively for a solution.

 

Thank you for any help:)

Share this post


Link to post
Share on other sites
guran

Can't you use 1/sqrt(2) instead of 0.7071 as your distance multiplier?

Share this post


Link to post
Share on other sites
steven-g

Use a scale action on the vertical line :)

Share this post


Link to post
Share on other sites
zaphod

use another line that is linked to the two lines and forced to be vertical?

this is not a dynamic block, but the theory should hold.

angle sample.dwg

Share this post


Link to post
Share on other sites
Dahzee

I don't have Autocad, but in Bricscad you can put a horizontal constraint between the end point (end point and not the entity itself) of the vertical and angled lines, so you are always forcing the two end points of the lines to be horizontal, no matter how long you make the angled line?

I also put constraints on the lines themselves so they stayed vertical and at the correct angle no matter how long they are.

 

HTH

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...