Visio Guy

Visio Discussions => ShapeSheet & Smart Shapes => Topic started by: VMey on October 30, 2014, 03:45:07 PM

Title: Seeking help: Seeking to auto-reposition connector terminus when shape is moved
Post by: VMey on October 30, 2014, 03:45:07 PM
Hello,

My team uses a Visio stencil set frequently that has a lot of annoying behaviors.  I've been working at improving upon a few of them, but I really don't "get" advanced Visio yet.  I'm pretty good with Excel VBA, but I barely know where to start on Visio.

For the sake of this question, we have Shape LEFT connected to Shape RIGHT by a Connector.  The connector starts at the ORIGIN point of Shape LEFT, and ends at the TERMINUS point of Shape Right.  All three shapes are sourced from our stencil.

Currently, when Shape RIGHT is moved, Connector's Terminus stays in the same place.  I want Connector's Terminus to move to a better place.  Here's an image of current function and desired function:

(http://i60.tinypic.com/2n7mi40.png)

These are the limitations:

I appreciate any help you can provide
Title: Re: Seeking help: Seeking to auto-reposition connector terminus when shape is moved
Post by: Paul Herber on October 30, 2014, 04:49:22 PM
Assuming you have a connection point on the left-hand shape that the connector is glued to, you should use dynamic glue to connect to the right-hand shape. The connector will re-route itself automatically.
Example attached.

P.S. I've moved the post as it's not a programming task.
Title: Re: Seeking help: Seeking to auto-reposition connector terminus when shape is moved
Post by: VMey on October 30, 2014, 07:32:52 PM
Thanks Paul, I activated Dynamic Glue and it has been very helpful