there was also a bug in the lengthiu code for awhile, so know what
version
of visio you're at would be a help.. :-(
al
"Chris Roth [MVP]" <visioguy [at] hotmail [dot] com> wrote in message
I take it your wire has some bends in it, in which case it gets a bit
more
complicated.
If you want to use automation and can do a bit of VB/VBA programming,
you
can use the LengthIU property:
visio.ActiveWindow.Selection(1).LengthIU
However this doesn't work if the path is open (due to a BUG). So you
have
to temporarily close the path by setting:
Geometry1.NoFill = False
Then get the .LengthIU, then subtract the distance from the begin to
the
end of the connector (ref: Pythagorus)
--
Hope this helps,
Chris Roth
Visio MVP
More Visio shapes, articles, development info and pure diagramming fun
at:
www.wanderkind.com/visio
message
Right Click anywhere and goto view, click on the "size & position"
option. It
should open a box that tells you all about the "physical" properties
of
whatever object you click on. It is also great for making sure that
the
length of objects are exact(beware though, some objects are measured
from
the
center. I think boxes are, but if you notice something wierd it's
either
that
or the degrees are opposite of what you thought). Good luck.
:
I am trying to determine the length of a wire connector in Visio. I
am
using
the wire connector in the Electrial and Telecom shapes group. I would
really
appreciate any help here. Thanks