Re: strange rerouting behaviour of connectors

Tech-Archive recommends: Fix windows errors by optimizing your registry



Ok, found a solution. Setting the value of the ObjType Cell of the connected
shape (not the connector!) to 1 (visLOFlagsPlacable) solved the problem.
Don't ask me why...
Greetings.RM

"RobM" wrote:

Yes, I have done so before. That worked in this case, but I had problems in
some other cases (see example below). That's why I am posting here, because
either version has different cases where it (sometimes) works as expected and
others where it (sometimes) doesn't, although the values I set are equal.

I'm sorry, that I'm not able to specify more exactly.
If it helps, I can give another example (not copy&paste but reconstructed):
http://www.file-upload.net/download-618369/model2.vsd.html
There are four steps: add the connector and manipulate it three times.
The application I use has undo/redo methods (not the ones from Visio).
The fourth step is different as shown in the given file. Depending on
whether I undo/redo the adding of the connector shape or just the following
steps, it draws the left version (as I want it) or the right one.
This happens, if I set ConFixedCode to 2. If I set it to 1, always the left
version is chosen (which is fine, but causes the previously described problem
at the other part of the model)


"David Parker" wrote:


Have you tried setting the ConFixedCode cell in the connectors to 2 ?


"RobM" <RobM@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BB146346-D3C1-410D-9D2C-023A824B81F7@xxxxxxxxxxxxxxxx
Thanks for your response! Well, I tried on Visio 2007 as well and I had
the
same problem, except for the direction of the rerouting.

On the following picture you can see the different behaviour.
http://www.file-upload.net/view-618084/Visio---screen-shots.JPG.html
The version in the middle is what I want in this case. It's the same in
both
Visio versions. On the sides you can see what happens with the connector
in
the other Visio file.


"David Parker" wrote:

Tried on Visio 2007 ... I can't see any difference?



--
David Parker
Microsoft MVP (Visio)
http://bvisual.spaces.live.com
http://www.visualizinginformation.com


.



Relevant Pages

  • Re: strange rerouting behaviour of connectors
    ... add the connector and manipulate it three times. ... The application I use has undo/redo methods (not the ones from Visio). ... if I set ConFixedCode to 2. ... "David Parker" wrote: ...
    (microsoft.public.visio.developer.vba)
  • Re: VBA Code to position text on connector line
    ... If you make a connector straight, then position the text, Visio will try to ... Sub PositionTextOnConnector() ...
    (microsoft.public.visio.developer)
  • Re: Automatic Organization Charting
    ... Visio 2002 does. ... I've tried various ways of connecting the shapes together ... >connector on the page, then connect it to the shapes. ... >> organization chart of a company's reporting structure. ...
    (microsoft.public.visio)
  • Re: Controling position of Text in connectors
    ... I suspect that connector routing is changing the Geometry section after you ... Visio assumes that it owns the contents ...
    (microsoft.public.visio.developer.vba)
  • Re: Controling position of Text in connectors
    ... the attributes of the shapes are saved in an Access database. ... connector it was associated with. ... Visio totally ignored the 2 following ... the exact same path that the user had originally drawn them in. ...
    (microsoft.public.visio.developer.vba)