Jump to content

Blocks with polyline functionality


Want2LispForever

Recommended Posts

Hi,

 

Is it possible to create a dynamic block which retains or replicates he behavior of the polyline example below?

First  3 images are how I would like the object to behave, last image is a feeble attempt at adding a stretch action and testing it as a block.

I have a tendency to over complicate things so I thought I'd see if there are any simple solutions available that I am missing before I start going to far.

 

Thanks in advance!

2083535885_Screenshot(1).JPG.1f7a8f4f122df42dd5006830b45bcd8f.JPG728815193_Screenshot(2).JPG.f66d9989d79154cb34f702d7025e8f9f.JPG728835867_Screenshot(3).JPG.9cbf44674f3b20de3332ad7814dc0385.JPG1124449601_Screenshot(4).JPG.2dc2242bb691dbbb4bdd5bb323476f4f.JPG

Link to comment
Share on other sites

Have you tried adding extra vertices at the points where the segment will move out? In other words, the interior segment will already have segments at either end, but they will start with length=0. As far as I know, you can't add vertices to a polyline without editing the block, so you'd have to do it ahead of time.

Link to comment
Share on other sites

Hey, thanks for your reply.

 

I had extra vertices on points A & B in the pic below. (Which I believe is what you were suggesting above)

image.png.3d86f7c51931d61797e4c756be5b8b1f.png

 

I was just going about it backwards, turns out I just needed to sleep on it! 

Solved it in 5 minutes this morning. I wanted the block to be a nice neat square but I think that created an issue when specifying the stretch frame as I was unable to omit one of the two vertices on A or B. Solved by simply creating the stretch action while the object was in the position shown below which enabled me to specify the points.

 

image.png.218ee6aa368b7022790331a73dd8fae9.png

 

I can actually revert it back into a square just like I wanted it to appear by default and it functions as desired.

So it turns out that I just had to think 'outside the box' 

Link to comment
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
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...