Creating a Floating Line Whose Length is Fixed

Started by Tegglet, October 06, 2013, 09:33:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Paul Herber

I think it's amazing what gets achieved on this forum, so much enthusiasm for Visio. The official Microsoft forums are a total waste of space in comparison.
Electronic and Electrical engineering, business and software stencils for Visio -

Visio Guy

So JuneTheSecond was on track for the ultimate solution, but the shape jumps around a bit because of ShapeSheet limitations. Visio would need some sort of constraint solver to do this right.

Then Wapperdude got the right idea of decoupling the 1D endpoint handles from the actual geometry.

I've taken Wapperdude's tack to some extent, but with my shape, you use the regular 1D handles to control the angle, and a control handle or shape data to set the line length. So, both the angle and the length can be set either visually or numerically.

To summarize, you can control the attached shape like this:

Angle: Size & Position Dialog, or 1D endpoint handles
Length: Size & Position Dialog, Shape data field or 1D endpoint handles

There one connection point at the end of the line segment, so the beginning of other lines can be glued to it.

You can right-click or use the shape data field to show/hide the length and angle text.
For articles, tips and free content, see the Visio Guy Website at
Get my Visio Book! Using Microsoft Visio 2010

vojo love for my appends on this....I guess I dont get roses anymore  ;-) problem guys....glad it all worked out


Vojo:  Carnations OK?  Actually, your initial response was what encouraged me to work harder on this.

VisioGuy:  Nice finish.  Solution is very clean.
Visio 2019 Pro


For All.

I am very sorry to insist too much about my opinion,
though you have posted many good solutions.

But I am still thinking is there any other alternatives.

Here is an example that can make chain of lines of constant lenght, 
or trace free curve with constant length lines.

It uses Dependson function and SetF function in the shapesheet.
    Prop.Length = 10 mm
    Use.Row_1 = DEPENDSON(Angle,Width)
Of course, it has some defects as listed on attached drawing.

Best Regards,

Junichi Yoda