Jump to content
Want2LispForever

Blocks with polyline functionality

Recommended Posts

Want2LispForever

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

Share this post


Link to post
Share on other sites
CyberAngel

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.

Share this post


Link to post
Share on other sites
Want2LispForever

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' 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×