Jump to content

Dynamic blocks - relative object length


Recommended Posts

Posted

Hello,

 

For my work placement at a civil engineering company I have been developing a few dynamic blocks. Everything is going quite well so far, but I've come across a problem.

 

I'd like to create a border like this:

jie06a.jpg

 

Where the height of the complete text frame can be edited with a stretch action. Any idea how I could make the outer line half the size of the outer line and still be able to edit it using a single grip? I have tried constraining it, but that just resulted in the outer line not being stretched at all.

 

The drawing I have so far is attached to this post. There are 'a few' more features I haven't mentioned, but they are all not relevant to this problem.

dynamic legenda.dwg

Posted

Not possible with a single grip i think, it will probably be possible in acad2011 where they added parametric drawing (lineB=lineA/2).

Maybe you could try a scale instead of a stretch? that way both entities will be stretched proportionally.

 

PS:can't open the block as it is saved in 2010 and i'm using 2009

Posted

Attached: 2007 version of the drawing

 

I'm a afraid scale is not possible - there is some text at the bottom of the text field that is supposed to move with the lowest border. Scaling would make the text larger too.

 

EDIT:

Forgot to mention, I tried the following so far:

- Create a small line in a turned off layer perpendicular to the border and then constrained the border to coincide with that small line. This didn't have any better result than a normal stretch.

- Give the grip used for the stretch also a scale action which applies only to the outer border. This works, but only as long as the grip is on the same X (horizontal border) or Y (vertical border) coordinate. Since there are two horizontal and two vertical borders this would require more than one grip, reducing ease of use.

- Give the border itself a linear parameter with scale action of its own, without grips and then make the stretch action stretch that parameter. Same result as using just stretch..

dynamic legenda 2007.dwg

Posted

I don't have AutoCAD at home so can't look at your cad file there. My company net nanny doesn't allow your picture through so this os done by memory but can't you use a second strecth action? I'll try what I think you are asking for and post back later.

Posted

I couldn't quite see what you were trying to achieve as a lot of things moved rather than stretched so I made your outer frame a polyline before adding my stretch. Obviously I have only done a vertical stretch but a horizontal one should be possible too.

dynamic legenda 2007.dwg

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

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