Position/orientate connection labels along connector line

P

Paul

The connector lines have text that always have a "portrait"
orientation. That is, letters upright, reading from left to right.
This is regardless of the orientation of the line (I have center-to-
center connectors, straight lines rather than rectilinear).

Can I have the text labels oriented so that the text reads along the
connector line rather than horizontally (left to right)?

Furthermore, can I position the label at an arbitrary position along
the connection line?
 
P

Paul Herber

The connector lines have text that always have a "portrait"
orientation. That is, letters upright, reading from left to right.
This is regardless of the orientation of the line (I have center-to-
center connectors, straight lines rather than rectilinear).

Can I have the text labels oriented so that the text reads along the
connector line rather than horizontally (left to right)?

menu Window -> Show Shapesheet (Visio 2007 Show Shapedata)

scroll down to near the botton to the Text Transform section and
change the TxtAngle cell, try 90deg, 180 deg, 270 deg etc
Furthermore, can I position the label at an arbitrary position along
the connection line?

There is a yellow control handle, drag this and the text will follow.
 
P

Paul

menu Window -> Show Shapesheet (Visio 2007 Show Shapedata)

I guess there is no GUI way to do this? The diagram change alot, and
quickly...
scroll down to near the botton to the Text Transform section and
change the TxtAngle cell, try 90deg, 180 deg, 270 deg etc


There is a yellow control handle, drag this and the text will follow.

I don't have yellow handles on my text labels for my connectors. This
is for striaght-line center-to-center connectors. Is there a switch
in Visio 2000 to activate visibility of the handle?
 
P

Paul Herber

I guess there is no GUI way to do this? The diagram change alot, and
quickly...


I don't have yellow handles on my text labels for my connectors. This
is for striaght-line center-to-center connectors. Is there a switch
in Visio 2000 to activate visibility of the handle?

Where do you get the connector from? Which stencil, which template?
Yellow control handles are defined in the Controls section in the
shape's shapesheet. A control handle can be connected to almost
anything to allow it to be moved around with the mouse.
 
P

Paul

Where do you get the connector from? Which stencil, which template?
Yellow control handles are defined in the Controls section in the
shape's shapesheet. A control handle can be connected to almost
anything to allow it to be moved around with the mouse.

It's quite a basic interconnection of ovals using straight lines,
center-to-center (at any angle, depending on the relative positions of
the ovals connected). I create a new *blank* drawing, go to File-
PageSetup->LayoutAndRouting->Routing->Style->CenterToCenter. Then
open the stencil BlockDiagram->Blocks. Drag 2 ovals onto the
drawing. Click on the connector tool and draw a line between the
ovals in a Dynamic Glue manner. The connecting line ignores the
Connection Points on the ovals, and contacts the ovals at the nearest
points on their perimeters.
 
W

WapperDude

Hi Paul --
The yellow control handle that Paul H. is referring too ought to be right in
the center of your text, small diamond. If you grab it, the text will
follow. Also, on the menu bar, the text tool ought to have an option to do
text block (or you can go to customize menu bar). The text block tool will
give the the rotation handle and allow you to freely rotate the text. Note,
once you grab the rotation handle, if you scroll the mouse away from the
text, you can get finer angular rotations.

Hope this helps.
Wapperdude
 
W

WapperDude

Paul --
You can make the text angle track the the dynamic connector by changing the
shape sheet entry that Paul H refers to: instead of a numerical value, enter
this formula:
ATAN2((Geometry1.Y2-Geometry1.Y1),(Geometry1.X2-Geometry1.X1)). Of course,
you need to do this to each dynamic connector. Hope you're not labelling too
many of them.

Hope this helps even more.
Wapperdude.
 
P

Paul

WrapperDude,

I think that did it. Mine’s is a bit different in that I have to use
the text tool, have the connector label selected (which selects the
text for overwriting or formatting), then press Escape so that the
text block is selected instead.
Thanks!
 
P

Paul

Paul --
You can make the text angle track the the dynamic connector by changing the
shape sheet entry that Paul H refers to:  instead of a numerical value,enter
this formula:  
ATAN2((Geometry1.Y2-Geometry1.Y1),(Geometry1.X2-Geometry1.X1)).  Of course,
you need to do this to each dynamic connector.  Hope you're not labelling too
many of them.

Hope this helps even more.
Wapperdude.







- Show quoted text -

Hmmm....that might not be so practical. When I have some time, I'll
have to figure out scripting and try to do it automagically. Thanks
again!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top